forked from jsnbuchanan/crowd-funder-for-time-pwa
make notification errors go away automatically
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user