diff --git a/src/views/ContactQRScanShowView.vue b/src/views/ContactQRScanShowView.vue index c547f71..5da61f8 100644 --- a/src/views/ContactQRScanShowView.vue +++ b/src/views/ContactQRScanShowView.vue @@ -98,7 +98,7 @@ import { useClipboard } from "@vueuse/core"; import QuickNav from "@/components/QuickNav.vue"; import UserNameDialog from "@/components/UserNameDialog.vue"; -import { APP_SERVER, NotificationIface } from "@/constants/app"; +import { NotificationIface } from "@/constants/app"; import { db, retrieveSettingsForActiveAccount } from "@/db/index"; import { Contact } from "@/db/tables/contacts"; import { MASTER_SETTINGS_KEY } from "@/db/tables/settings"; @@ -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: "/contacts-import/" + url.substring(url.lastIndexOf("/") + 1), }); return; } diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue index 781c286..864913f 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -883,7 +883,7 @@ export default class ContactsView 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: "/contacts-import/" + url.substring(url.lastIndexOf("/") + 1), }); return; }