fix: usage page broken when no projects

This commit is contained in:
Arman committed 2023-12-20 10:28:35 +01:00
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',