mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-13 19:33:12 -05:00
* automated docs update * recipe rating component * recipe partial updates - closes #25 * use Vue.delete to update store * format * arrow functions * fix tests * format * initial context menu * localize * add confirmation dialog * context menu * fix bare exception * update line length * format all file with prettier * update changelog * download as json * update python dependencies * update javascript dependencies Co-authored-by: hay-kot <hay-kot@pm.me>
28 lines
458 B
Vue
28 lines
458 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>
|