refac/fix: note chat permissions issue
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user