add more type casts

This commit is contained in:
2024-07-23 20:57:10 -06:00
parent d724d8093c
commit 59820a2f01
21 changed files with 100 additions and 64 deletions

View File

@@ -45,6 +45,8 @@
<script lang="ts">
import { Component, Vue } from "vue-facing-decorator";
import { Router } from "vue-router";
import { db } from "@/db/index";
import { MASTER_SETTINGS_KEY, Settings } from "@/db/tables/settings";
@@ -68,11 +70,11 @@ export default class NewEditAccountView extends Vue {
firstName: this.givenName,
lastName: "", // deprecated, pre v 0.1.3
});
this.$router.back();
(this.$router as Router).back();
}
onClickCancel() {
this.$router.back();
(this.$router as Router).back();
}
}
</script>