WIP Промежуточные изменения

This commit is contained in:
Daria Golova
2023-06-21 15:32:30 +03:00
parent 80af2fc66c
commit 1915538ca2
5 changed files with 186 additions and 71 deletions

View File

@@ -14,7 +14,7 @@
v-for="year in internalYearsList",
:key="year",
:id="year",
:class="activeCellClass(year), cellsClass",
:class="calculateActiveCell(year), cellsClass",
@click="selectYear(year)",
) {{ year }}
</template>
@@ -61,7 +61,7 @@ export default {
},
},
methods: {
activeCellClass(year) {
calculateActiveCell(year) {
return {
"active-cell": parseInt(this.internalValue.format("YYYY"), 10) === year,
};