forked from jsnbuchanan/crowd-funder-for-time-pwa
Clean up vestigle old alert code
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user