mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-05 19:46:28 -05:00
* pin editor buttons on scroll * scaler scratch * fix langauge assignment 1st pass * set lang on navigate * refactor/breakup router * unify style for language selectro * refactor/code-cleanup * refactor/page specific components to page folder * Fix time card layout issue * fix timecard display * update mobile cards / fix overflow errors Co-authored-by: hay-kot <hay-kot@pm.me>
31 lines
481 B
Vue
31 lines
481 B
Vue
<template>
|
|
<v-date-picker
|
|
:first-day-of-week="firstDayOfWeek"
|
|
v-on="$listeners"
|
|
></v-date-picker>
|
|
</template>
|
|
|
|
<script>
|
|
import { api } from "@/api";
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
firstDayOfWeek: 0,
|
|
};
|
|
},
|
|
mounted() {
|
|
this.getOptions();
|
|
},
|
|
|
|
methods: {
|
|
async getOptions() {
|
|
const settings = await api.siteSettings.get();
|
|
this.firstDayOfWeek = settings.firstDayOfWeek;
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style> |