more debugging

This commit is contained in:
Rotimi Best
2024-05-18 21:33:19 +01:00
parent 9a5cb7e1a4
commit 73d1301749
2 changed files with 4 additions and 1 deletions
@@ -17,6 +17,9 @@
userRole = user.role_id;
}
}
$: console.log({ group: $group });
$: console.log('is allowed', allowedRoles.includes(userRole), 'roles', userRole);
</script>
{#if allowedRoles.includes(userRole)}
+1 -1
View File
@@ -307,7 +307,7 @@
{:else}
<main class="dark:bg-black">
{#if $navigating && $delayedPreloading}
<Backdrop disableCenteredContent={true} className="opacity-90">
<Backdrop disableCenteredContent={true} className="">
<div class="h-full w-full relative" transition:fly={{ x: -200, duration: 500 }}>
<ToastNotification kind="info-square" class="absolute bottom-5 left-5">
<span slot="title" class="flex items-center">