Browse Source

tweak messages & commentary

qrcode-reboot
Trent Larson 15 hours ago
parent
commit
e254837951
  1. 2
      src/components/DataExportSection.vue
  2. 3
      src/views/AccountViewView.vue
  3. 2
      src/views/HomeView.vue

2
src/components/DataExportSection.vue

@ -168,7 +168,7 @@ export default class DataExportSection extends Vue {
title: "Export Successful", title: "Export Successful",
text: this.platformCapabilities.hasFileDownload text: this.platformCapabilities.hasFileDownload
? "See your downloads directory for the backup. It is in the Dexie format." ? "See your downloads directory for the backup. It is in the Dexie format."
: "Please choose a location to save your backup file.", : "You should have been prompted to save your backup file.",
}, },
-1, -1,
); );

3
src/views/AccountViewView.vue

@ -1611,7 +1611,8 @@ export default class AccountViewView extends Vue {
async submitImportFile() { async submitImportFile() {
if (inputImportFileNameRef.value != null) { if (inputImportFileNameRef.value != null) {
await db.delete() await db.delete()
.then(async (x) => { .then(async () => {
// BulkError: settings.bulkAdd(): 1 of 21 operations failed. Errors: ConstraintError: Key already exists in the object store.
await Dexie.import(inputImportFileNameRef.value as Blob, { await Dexie.import(inputImportFileNameRef.value as Blob, {
progressCallback: this.progressCallback, progressCallback: this.progressCallback,
}) })

2
src/views/HomeView.vue

@ -740,7 +740,7 @@ export default class HomeView extends Vue {
* - Displays user notification * - Displays user notification
* *
* @internal * @internal
* Called by mounted() and handleFeedError() * Called by mounted()
* @param err Error object with optional userMessage * @param err Error object with optional userMessage
*/ */
private handleError(err: unknown) { private handleError(err: unknown) {

Loading…
Cancel
Save