mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-13 14:00:52 +02:00
bugfix: Prevent double toast on single hide/show toggle (#22079)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user