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: {},
|
selectedEvent: {},
|
||||||
showModal: false,
|
showModal: false,
|
||||||
timeInformation: {
|
timeInformation: {
|
||||||
dayStartTime: "08:00",
|
dayStartTime: "00:00",
|
||||||
dayEndTime: "20:00",
|
dayEndTime: "24:00",
|
||||||
},
|
},
|
||||||
eventsData: [],
|
eventsData: [],
|
||||||
employeesData: [],
|
employeesData: [],
|
||||||
|
|||||||
@@ -222,6 +222,12 @@ export default {
|
|||||||
this.hideDescriptionCard();
|
this.hideDescriptionCard();
|
||||||
this.setDefaultTheme();
|
this.setDefaultTheme();
|
||||||
},
|
},
|
||||||
|
writeCardSize() {
|
||||||
|
this.cardSize = {
|
||||||
|
width: this.$refs["eventCard"].getBoundingClientRect().width,
|
||||||
|
height: this.calculateCardHeight - 8,
|
||||||
|
};
|
||||||
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
changeFormWasClosed: {
|
changeFormWasClosed: {
|
||||||
@@ -234,6 +240,9 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
this.writeCardSize();
|
||||||
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user