add sanity checks for importing bulk contacts, eg. when there is a truncated link

This commit is contained in:
2025-01-07 20:56:39 -07:00
parent df724162b2
commit 181de625ba
6 changed files with 235 additions and 130 deletions

View File

@@ -196,7 +196,7 @@ export default class ContactQRScanShow extends Vue {
if (Array.isArray(payload.contacts)) {
// reroute to the ContactsImport
(this.$router as Router).push({
path: "/contacts-import/" + url.substring(url.lastIndexOf("/") + 1),
path: "/contact-import/" + url.substring(url.lastIndexOf("/") + 1),
});
return;
}