Skip to content

Commit f55dac0

Browse files
authored
Merge pull request #2343 from appwrite/hmacr/ser-339-load-projects
2 parents 163a49f + 44c69ed commit f55dac0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/components/breadcrumbs.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@
128128
async function createProjectsBottomSheet(
129129
organization: Organization
130130
): Promise<SheetMenu | null> {
131+
const isOnProjects = page.route.id.includes('project-[region]-[project]');
132+
131133
if (!isOnProjects) return null;
132134
133135
isLoadingProjects = true;
@@ -239,8 +241,6 @@
239241
240242
$: organizationId = currentProject?.teamId;
241243
242-
$: isOnProjects = page.route.id.includes('project-[region]-[project]');
243-
244244
$: shouldReloadProjects = isLoadingProjects
245245
? false
246246
: currentProject && loadedProjects.projects.length

0 commit comments

Comments
 (0)