forked from trent_larson/crowd-funder-for-time-pwa
tweak messages & commentary
This commit is contained in:
@@ -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,
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -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,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user