Merge branch 'UC-42' of https://github.com/dderbentsov/urban-couscous into UC-42
This commit is contained in:
@@ -69,8 +69,8 @@ export default {
|
||||
selectedEvent: {},
|
||||
showModal: false,
|
||||
timeInformation: {
|
||||
dayStartTime: "08:00",
|
||||
dayEndTime: "20:00",
|
||||
dayStartTime: "00:00",
|
||||
dayEndTime: "24:00",
|
||||
},
|
||||
eventsData: [],
|
||||
employeesData: [],
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user