|
@ -305,6 +305,7 @@ export default class ContactsView extends Vue { |
|
|
givenToMeUnconfirmed: Record<string, number> = {}; |
|
|
givenToMeUnconfirmed: Record<string, number> = {}; |
|
|
hourDescriptionInput = ""; |
|
|
hourDescriptionInput = ""; |
|
|
hourInput = "0"; |
|
|
hourInput = "0"; |
|
|
|
|
|
isRegistered = false; |
|
|
showGiveNumbers = false; |
|
|
showGiveNumbers = false; |
|
|
showGiveTotals = true; |
|
|
showGiveTotals = true; |
|
|
showGiveConfirmed = true; |
|
|
showGiveConfirmed = true; |
|
@ -314,6 +315,7 @@ export default class ContactsView extends Vue { |
|
|
const settings = (await db.settings.get(MASTER_SETTINGS_KEY)) as Settings; |
|
|
const settings = (await db.settings.get(MASTER_SETTINGS_KEY)) as Settings; |
|
|
this.activeDid = settings?.activeDid || ""; |
|
|
this.activeDid = settings?.activeDid || ""; |
|
|
this.apiServer = settings?.apiServer || ""; |
|
|
this.apiServer = settings?.apiServer || ""; |
|
|
|
|
|
this.isRegistered = !!settings?.isRegistered; |
|
|
|
|
|
|
|
|
this.showGiveNumbers = !!settings?.showContactGivesInline; |
|
|
this.showGiveNumbers = !!settings?.showContactGivesInline; |
|
|
if (this.showGiveNumbers) { |
|
|
if (this.showGiveNumbers) { |
|
@ -560,6 +562,7 @@ export default class ContactsView extends Vue { |
|
|
}, |
|
|
}, |
|
|
5000, |
|
|
5000, |
|
|
); |
|
|
); |
|
|
|
|
|
if (this.isRegistered) { |
|
|
// putting this last so that it shows on the top |
|
|
// putting this last so that it shows on the top |
|
|
this.$notify( |
|
|
this.$notify( |
|
|
{ |
|
|
{ |
|
@ -573,6 +576,7 @@ export default class ContactsView extends Vue { |
|
|
}, |
|
|
}, |
|
|
-1, |
|
|
-1, |
|
|
); |
|
|
); |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
.catch((err) => { |
|
|
.catch((err) => { |
|
|
console.error("Error when adding contact to storage:", err); |
|
|
console.error("Error when adding contact to storage:", err); |
|
|