forked from jsnbuchanan/crowd-funder-for-time-pwa
make notification errors go away automatically
This commit is contained in:
@@ -635,7 +635,7 @@ export default class ContactsView extends Vue {
|
||||
(useRecipient ? "given" : "received") +
|
||||
" data from the server.",
|
||||
},
|
||||
5000,
|
||||
3000,
|
||||
);
|
||||
}
|
||||
};
|
||||
@@ -693,7 +693,7 @@ export default class ContactsView extends Vue {
|
||||
title: "Load Error",
|
||||
text: "Got an error loading your gives.",
|
||||
},
|
||||
5000,
|
||||
3000,
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -969,7 +969,7 @@ export default class ContactsView extends Vue {
|
||||
message +=
|
||||
" Check that the contact doesn't conflict with any you already have.";
|
||||
}
|
||||
this.danger(message, "Contact Not Added", -1);
|
||||
this.danger(message, "Contact Not Added", 5000);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1018,7 +1018,7 @@ export default class ContactsView extends Vue {
|
||||
text:
|
||||
(contact.name || "That unnamed person") + " has been registered.",
|
||||
},
|
||||
5000,
|
||||
3000,
|
||||
);
|
||||
} else {
|
||||
this.$notify(
|
||||
@@ -1298,7 +1298,7 @@ export default class ContactsView extends Vue {
|
||||
title: "Copied",
|
||||
text: "The link for those contacts is now in the clipboard.",
|
||||
},
|
||||
5000,
|
||||
3000,
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user