mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: load projects for dropdown when in projects route
This commit is contained in:
1 parent
e30db8ec00
commit
44c69ed916
1 file changed
+2
-2
@@ -105,6 +105,8 @@
|
||||
async function createProjectsBottomSheet(
|
||||
organization: Organization
|
||||
): Promise<SheetMenu | null> {
|
||||
const isOnProjects = page.route.id.includes('project-[region]-[project]');
|
||||
|
||||
if (!isOnProjects) return null;
|
||||
|
||||
isLoadingProjects = true;
|
||||
@@ -216,8 +218,6 @@
|
||||
|
||||
$: organizationId = currentProject?.teamId;
|
||||
|
||||
$: isOnProjects = page.route.id.includes('project-[region]-[project]');
|
||||
|
||||
$: shouldReloadProjects = isLoadingProjects
|
||||
? false
|
||||
: currentProject && loadedProjects.projects.length
|
||||
|
||||
Reference in new issue
Block a user