mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Refactor breadcrumbs link and reorder workflow env
- Breadcrumbs: switch to resolve from '$app/paths' for the All projects link - Workflow: reorder env vars so APPWRITE_ENDPOINT precedes AI_SERVICE_BASE_URL
This commit is contained in:
@@ -9,8 +9,8 @@ on:
|
||||
|
||||
env:
|
||||
PUBLIC_CONSOLE_PROFILE: 'default'
|
||||
PUBLIC_AI_SERVICE_BASE_URL: 'http://appwrite.test/v1'
|
||||
PUBLIC_APPWRITE_ENDPOINT: http://appwrite.test/v1
|
||||
PUBLIC_AI_SERVICE_BASE_URL: 'http://appwrite.test/v1'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
import { isSmallViewport } from '$lib/stores/viewport';
|
||||
import { isCloud } from '$lib/system';
|
||||
import { goto, beforeNavigate } from '$app/navigation';
|
||||
import { base } from '$app/paths';
|
||||
import { base, resolve } from '$app/paths';
|
||||
import { currentPlan, newOrgModal, organization } from '$lib/stores/organization';
|
||||
import { Click, trackEvent } from '$lib/actions/analytics';
|
||||
import { ID, type Models, Query } from '@appwrite.io/console';
|
||||
@@ -171,7 +171,9 @@
|
||||
if (loadedProjects.projects.length > 4) {
|
||||
projectLinks.push({
|
||||
name: 'All projects',
|
||||
href: `${base}/organization-${selectedOrg.$id}`
|
||||
href: resolve('/(console)/organization-[organization]', {
|
||||
organization: selectedOrg.$id
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user