fix project access

This commit is contained in:
Damodar Lohani
2024-09-17 15:43:54 +05:45
parent 07299eba7c
commit f04c1b7dab
@@ -14,7 +14,7 @@ export const load: PageLoad = async ({ params, url, route, depends, parent }) =>
const limit = getLimit(url, route, CARD_LIMIT);
const offset = pageToOffset(page, limit);
if (get(canSeeProjects)) {
if (!get(canSeeProjects)) {
return redirect(301, `/console/organization-${params.organization}/billing`);
}