moved t function to global and misc cleanup
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<v-date-picker :locale="defaultLocale" v-model="dateOnly">
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn text color="primary" @click="dlgdate = false">{{
|
||||
t("OK")
|
||||
$ay.t("OK")
|
||||
}}</v-btn>
|
||||
</v-date-picker>
|
||||
</v-dialog>
|
||||
@@ -59,11 +59,6 @@ export default {
|
||||
required: false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
t(tKey) {
|
||||
return window.$gz.translation.get(tKey);
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
date() {
|
||||
//this tortuous fuckery is required so that the input and change events only fire on a real change, not initial page load
|
||||
|
||||
Reference in New Issue
Block a user