mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-02 09:47:47 -05:00
refac/fix: note chat permissions issue
This commit is contained in:
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;
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user