mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: usage page broken when no projects
This commit is contained in:
1 parent
a4108806de
commit
316ae87a66
1 file changed
+1
-1
@@ -43,7 +43,7 @@ export const load: PageLoad = async ({ params, parent }) => {
|
||||
|
||||
const queries: string[] = [];
|
||||
|
||||
if (usage.projects.length > 0) {
|
||||
if (usage?.projects?.length > 0) {
|
||||
queries.push(
|
||||
Query.equal(
|
||||
'$id',
|
||||
|
||||
Reference in new issue
Block a user