mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-07 02:58:21 +00:00
bugfix: Prevent double toast on single hide/show toggle (#22079)
This commit is contained in:
parent
a9d8348cf9
commit
fe604a8a9b
1 changed files with 2 additions and 2 deletions
|
|
@ -249,6 +249,8 @@
|
|||
|
||||
console.debug(model);
|
||||
|
||||
upsertModelHandler(model, false);
|
||||
|
||||
toast.success(
|
||||
model.meta.hidden
|
||||
? $i18n.t(`Model {{name}} is now hidden`, {
|
||||
|
|
@ -258,8 +260,6 @@
|
|||
name: model.id
|
||||
})
|
||||
);
|
||||
|
||||
upsertModelHandler(model);
|
||||
};
|
||||
|
||||
const copyLinkHandler = async (model) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue