Подняла информацию из LayoutSwitch до родителя

This commit is contained in:
Daria Golova
2022-10-13 12:54:31 +03:00
parent bd7c4eabfc
commit 82b7a45676
8 changed files with 18 additions and 22 deletions

View File

@@ -22,7 +22,6 @@ export default {
data() {
return {
isToday: true,
selectedLayout: "",
};
},
computed: {
@@ -39,7 +38,7 @@ export default {
},
methods: {
changeSelectedLayout(option) {
this.selectedLayout = option;
this.$emit("selectedLayout", option);
},
previousHandler() {
this.$emit("previous-date");
@@ -60,7 +59,7 @@ export default {
<style lang="sass" scoped>
.calendar-header-wrapper
width: 100%
background-color: var(--bg-white-color)
background-color: var(--default-white)
height: 56px
border-radius: 4px