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

@@ -337,9 +337,9 @@ export default class DiscoverView extends Vue {
group: "alert",
type: "danger",
title: "Error",
text: `There was a problem accessing the server. Try again later.`,
text: `There was a problem accessing the server.`,
},
-1,
3000,
);
throw details;
@@ -376,7 +376,7 @@ export default class DiscoverView extends Vue {
title: "Error",
text: e.userMessage || "There was a problem retrieving projects.",
},
-1,
5000,
);
} finally {
this.isLoading = false;
@@ -433,9 +433,9 @@ export default class DiscoverView extends Vue {
group: "alert",
type: "danger",
title: "Error",
text: "There was a problem accessing the server. Try again later.",
text: "There was a problem accessing the server.",
},
-1,
3000,
);
throw await response.text();
}
@@ -472,7 +472,7 @@ export default class DiscoverView extends Vue {
title: "Error",
text: e.userMessage || "There was a problem retrieving projects.",
},
-1,
5000,
);
} finally {
this.isLoading = false;