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

@@ -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,
);
});
}