WIP rework medical card data
This commit is contained in:
@@ -48,8 +48,7 @@ export default {
|
||||
medical: (state) => state.medical.medicalCard,
|
||||
}),
|
||||
created() {
|
||||
if (!localStorage.getItem("medicalId")) this.$router.push("/calendar");
|
||||
this.$store.dispatch("getMedicalCardData");
|
||||
this.$store.dispatch("getMedicalDataById", this.$route.params.id);
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user