Browse Source

Fix: overloaded arguments + linting

pull/154/head
Jose Olarte III 1 week ago
parent
commit
6d0f4d910f
  1. 7
      src/views/ContactQRScanShowView.vue

7
src/views/ContactQRScanShowView.vue

@ -183,7 +183,6 @@ import {
NOTIFY_QR_PROCESSING_ERROR, NOTIFY_QR_PROCESSING_ERROR,
createQRContactAddedMessage, createQRContactAddedMessage,
createQRRegistrationSuccessMessage, createQRRegistrationSuccessMessage,
QR_TIMEOUT_STANDARD, QR_TIMEOUT_STANDARD,
QR_TIMEOUT_LONG, QR_TIMEOUT_LONG,
} from "@/constants/notifications"; } from "@/constants/notifications";
@ -543,10 +542,7 @@ export default class ContactQRScanShow extends Vue {
did: contact.did, did: contact.did,
name: contact.name, name: contact.name,
}); });
this.notify.toast( this.notify.toast("Submitted", NOTIFY_QR_REGISTRATION_SUBMITTED.message);
"Submitted",
NOTIFY_QR_REGISTRATION_SUBMITTED.message,
);
try { try {
const regResult = await register( const regResult = await register(
@ -735,7 +731,6 @@ export default class ContactQRScanShow extends Vue {
) { ) {
setTimeout(() => { setTimeout(() => {
this.notify.confirm( this.notify.confirm(
"Register",
"Do you want to register them?", "Do you want to register them?",
{ {
onCancel: async (stopAsking?: boolean) => { onCancel: async (stopAsking?: boolean) => {

Loading…
Cancel
Save