This commit is contained in:
Daria Golova
2022-11-18 16:33:39 +03:00
2 changed files with 11 additions and 2 deletions

View File

@@ -69,8 +69,8 @@ export default {
selectedEvent: {},
showModal: false,
timeInformation: {
dayStartTime: "08:00",
dayEndTime: "20:00",
dayStartTime: "00:00",
dayEndTime: "24:00",
},
eventsData: [],
employeesData: [],

View File

@@ -222,6 +222,12 @@ export default {
this.hideDescriptionCard();
this.setDefaultTheme();
},
writeCardSize() {
this.cardSize = {
width: this.$refs["eventCard"].getBoundingClientRect().width,
height: this.calculateCardHeight - 8,
};
},
},
watch: {
changeFormWasClosed: {
@@ -234,6 +240,9 @@ export default {
},
},
},
mounted() {
this.writeCardSize();
},
};
</script>