mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-02 02:12:25 +00:00
fix: hide Insert into note on a note the viewer may only read (#30223)
This commit is contained in:
parent
f40318c1ff
commit
d9ea46f92d
1 changed files with 1 additions and 1 deletions
|
|
@ -1507,7 +1507,7 @@ ${content}
|
|||
embeddedDraftKey={noteChatDraftKey}
|
||||
suggestedPrompts={noteChatSuggestedPrompts}
|
||||
selectedText={selectedContent?.text ?? ''}
|
||||
onInsertToNote={insertHandler}
|
||||
onInsertToNote={note?.write_access ? insertHandler : null}
|
||||
onNewEmbeddedChat={createNoteChat}
|
||||
onCreateEmbeddedChat={createNoteChatOnFirstMessage}
|
||||
onSelectEmbeddedChat={(chatId) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue