Merge pull request 'patches v1.5.2' (#94) from develop into main
Reviewed-on: #94
This commit is contained in:
commit
362fc80891
3 changed files with 2 additions and 3 deletions
|
@ -29,6 +29,7 @@ import Modal from "./components/Modal.vue";
|
|||
import Notification from "./components/Notification.vue";
|
||||
import { config } from "./config";
|
||||
import { useConfigurationStore } from "@/stores/configuration";
|
||||
import { resetAllPiniaStores } from "@/helpers/piniaReset";
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
|
@ -38,6 +39,7 @@ export default defineComponent({
|
|||
...mapState(useConfigurationStore, ["clubName"]),
|
||||
},
|
||||
mounted() {
|
||||
resetAllPiniaStores();
|
||||
this.configure();
|
||||
|
||||
if (!this.authCheck && localStorage.getItem("access_token")) {
|
||||
|
|
|
@ -149,7 +149,6 @@ export default defineComponent({
|
|||
this.value.id = uuid();
|
||||
}
|
||||
if (!this.value.type) {
|
||||
console.log("setting type");
|
||||
this.type = "defined";
|
||||
}
|
||||
},
|
||||
|
|
|
@ -76,7 +76,6 @@ import { defineComponent } from "vue";
|
|||
import Spinner from "@/components/Spinner.vue";
|
||||
import SuccessCheckmark from "@/components/SuccessCheckmark.vue";
|
||||
import FailureXMark from "@/components/FailureXMark.vue";
|
||||
import { resetAllPiniaStores } from "@/helpers/piniaReset";
|
||||
import FormBottomBar from "@/components/FormBottomBar.vue";
|
||||
import AppLogo from "@/components/AppLogo.vue";
|
||||
import { mapState } from "pinia";
|
||||
|
@ -99,7 +98,6 @@ export default defineComponent({
|
|||
...mapState(useConfigurationStore, ["clubName"]),
|
||||
},
|
||||
mounted() {
|
||||
resetAllPiniaStores();
|
||||
this.username = localStorage.getItem("username") ?? "";
|
||||
this.routine = localStorage.getItem("routine") ?? "";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue