forked from jsnbuchanan/crowd-funder-for-time-pwa
add sanity checks for importing bulk contacts, eg. when there is a truncated link
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user