refac/fix: note chat permissions issue

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

View File

@@ -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;