forked from open-webui/open-webui
feat: query all documents
This commit is contained in:
parent
3858485675
commit
eb2b1ab77b
4 changed files with 27 additions and 18 deletions
|
@ -37,7 +37,7 @@
|
|||
};
|
||||
|
||||
const addTagHandler = async (tagName) => {
|
||||
if (!tags.find((tag) => tag.name === tagName)) {
|
||||
if (!tags.find((tag) => tag.name === tagName) && tagName !== '') {
|
||||
tags = [...tags, { name: tagName }];
|
||||
|
||||
await tagDocByName(localStorage.token, doc.name, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue