forked from jsnbuchanan/crowd-funder-for-time-pwa
Fix: overloaded arguments + linting
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user