Skip to content

Commit 967e88e

Browse files
committed
Remove console log
1 parent 543e0c9 commit 967e88e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

frontend/src/routes/(root)/(logged)/tutorials/+page.svelte

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,6 @@
4949
}
5050
})
5151
52-
// Debug: Log user role for troubleshooting
53-
$effect(() => {
54-
const user = $userStore
55-
if (user) {
56-
console.log('Tutorials page - User role:', {
57-
is_admin: user.is_admin,
58-
operator: user.operator,
59-
effectiveRole: userEffectiveRole,
60-
selectedPreviewRole: selectedPreviewRole
61-
})
62-
}
63-
})
6452
6553
/**
6654
* Check if the current user (or preview role) has access to a roles array.

0 commit comments

Comments
 (0)