Clean up vestigle old alert code

This commit is contained in:
Matthew Raymer
2023-07-04 19:29:12 +08:00
parent c859778832
commit 0a020a4069
4 changed files with 4 additions and 32 deletions

View File

@@ -317,7 +317,6 @@
<script lang="ts">
import "dexie-export-import";
import * as R from "ramda";
import { Component, Vue } from "vue-facing-decorator";
import { useClipboard } from "@vueuse/core";
@@ -419,7 +418,6 @@ export default class AccountViewView extends Vue {
"Clear your cache and start over (after data backup).";
console.error("Telling user to clear cache at page create because:", err);
this.alertTitle = "Error Creating Account";
this.isAlertVisible = true;
}
}
@@ -437,7 +435,6 @@ export default class AccountViewView extends Vue {
err
);
this.alertTitle = "Error Updating Contact Setting";
this.isAlertVisible = true;
}
}
@@ -455,11 +452,9 @@ export default class AccountViewView extends Vue {
this.alertTitle = "Download Started";
this.alertMessage = "See your downloads directory for the backup.";
this.isAlertVisible = true;
} catch (error) {
this.alertTitle = "Export Error";
this.alertMessage = "See console logs for more info.";
this.isAlertVisible = true;
console.error("Export Error:", error);
}
}