bugfix: Prevent double toast on single hide/show toggle (#22079)
This commit is contained in:
@@ -249,6 +249,8 @@
|
|||||||
|
|
||||||
console.debug(model);
|
console.debug(model);
|
||||||
|
|
||||||
|
upsertModelHandler(model, false);
|
||||||
|
|
||||||
toast.success(
|
toast.success(
|
||||||
model.meta.hidden
|
model.meta.hidden
|
||||||
? $i18n.t(`Model {{name}} is now hidden`, {
|
? $i18n.t(`Model {{name}} is now hidden`, {
|
||||||
@@ -258,8 +260,6 @@
|
|||||||
name: model.id
|
name: model.id
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
upsertModelHandler(model);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const copyLinkHandler = async (model) => {
|
const copyLinkHandler = async (model) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user