refac/fix: note chat permissions issue

This commit is contained in:
Timothy Jaeryang Baek committed 2025-07-18 12:55:08 +04:00
1 parent 3e67ce6e8e
commit bcee131971
3 files changed
+19 -4

No files matched your search

@@ -297,10 +297,6 @@ Based on the user's instruction, update and enhance the existing notes by incorp
};
onMount(async () => {
if ($user?.role !== 'admin') {
await goto('/');
}
editorEnabled = localStorage.getItem('noteEditorEnabled') === 'true';
loaded = true;