make notification errors go away automatically

This commit is contained in:
2025-01-04 18:02:10 -07:00
parent d4bb2a35fc
commit 2c0b927080
21 changed files with 71 additions and 72 deletions

View File

@@ -818,7 +818,7 @@ export default class GiftedDetails extends Vue {
title: "Error",
text: errorMessage || "There was an error creating the give.",
},
-1,
5000,
);
} else {
this.$notify(
@@ -828,7 +828,7 @@ export default class GiftedDetails extends Vue {
title: "Success",
text: `That ${this.isTrade ? "trade" : "gift"} was recorded.`,
},
5000,
3000,
);
localStorage.removeItem("imageUrl");
if (this.destinationPathAfter) {
@@ -851,7 +851,7 @@ export default class GiftedDetails extends Vue {
title: "Error",
text: errorMessage,
},
-1,
5000,
);
}
}
@@ -912,7 +912,7 @@ export default class GiftedDetails extends Vue {
title: "Data Sharing",
text: libsUtil.PRIVACY_MESSAGE,
},
-1,
7000,
);
}
}