tweak messages & commentary

This commit is contained in:
2025-05-24 20:55:54 -06:00
parent 0c356454e8
commit 6677a0fef2
3 changed files with 4 additions and 3 deletions

View File

@@ -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,
); );

View File

@@ -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,
}) })

View File

@@ -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) {