fix: Toast messages were showing numbers. Removed unused function. Clarified tests.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
class="px-4 py-2 rounded mr-2 transition-colors"
|
||||
@click="testInsert"
|
||||
>
|
||||
Test Insert
|
||||
Test Contact Insert
|
||||
</button>
|
||||
<button
|
||||
:class="
|
||||
@@ -22,7 +22,7 @@
|
||||
class="px-4 py-2 rounded mr-2 transition-colors"
|
||||
@click="testUpdate"
|
||||
>
|
||||
Test Update
|
||||
Test Contact Update
|
||||
</button>
|
||||
<button
|
||||
:class="
|
||||
@@ -44,7 +44,7 @@
|
||||
class="px-4 py-2 rounded mr-2 transition-colors"
|
||||
@click="testDatabaseStorage"
|
||||
>
|
||||
Test Database Storage Format
|
||||
Test SearchBox Database Storage -- Beware: Changes Your Search Box
|
||||
</button>
|
||||
<button
|
||||
:class="
|
||||
|
||||
@@ -548,6 +548,7 @@ export default class ContactQRScanShow extends Vue {
|
||||
});
|
||||
this.notify.toast(
|
||||
NOTIFY_QR_REGISTRATION_SUBMITTED.message,
|
||||
undefined,
|
||||
QR_TIMEOUT_SHORT,
|
||||
);
|
||||
|
||||
@@ -624,7 +625,7 @@ export default class ContactQRScanShow extends Vue {
|
||||
useClipboard()
|
||||
.copy(jwtUrl)
|
||||
.then(() => {
|
||||
this.notify.toast(NOTIFY_QR_URL_COPIED.message, QR_TIMEOUT_MEDIUM);
|
||||
this.notify.toast(NOTIFY_QR_URL_COPIED.message, undefined, QR_TIMEOUT_MEDIUM);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -189,7 +189,7 @@
|
||||
{{
|
||||
recipientDid
|
||||
? "This was given to " + recipientName + "."
|
||||
: "No individual benefitted."
|
||||
: "No named individual benefitted."
|
||||
}}
|
||||
</label>
|
||||
<font-awesome
|
||||
@@ -626,6 +626,7 @@ export default class GiftedDetails extends Vue {
|
||||
|
||||
this.notify.toast(
|
||||
NOTIFY_GIFTED_DETAILS_RECORDING_GIVE.message,
|
||||
undefined,
|
||||
TIMEOUTS.SHORT,
|
||||
);
|
||||
|
||||
|
||||
@@ -1613,17 +1613,6 @@ export default class HomeView extends Vue {
|
||||
(this.$refs.feedFilters as FeedFilters).open(this.reloadFeedOnChange);
|
||||
}
|
||||
|
||||
/**
|
||||
* Shows toast notification to user
|
||||
*
|
||||
* @internal
|
||||
* Used for various user notifications
|
||||
* @param message Message to display
|
||||
*/
|
||||
toastUser(message: string) {
|
||||
this.notify.toast("FYI", message, TIMEOUTS.SHORT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Computes CSS classes for known person icons
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user