moved t function to global and misc cleanup
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<gz-pick-list
|
||||
v-model="selectedWidget"
|
||||
:ayaType="ayaType().Widget"
|
||||
:label="t('Widget')"
|
||||
:label="$ay.t('Widget')"
|
||||
:showEditIcon="true"
|
||||
>
|
||||
</gz-pick-list>
|
||||
@@ -11,7 +11,7 @@
|
||||
<gz-pick-list
|
||||
v-model="selectedUser"
|
||||
:ayaType="ayaType().User"
|
||||
:label="t('User')"
|
||||
:label="$ay.t('User')"
|
||||
>
|
||||
</gz-pick-list>
|
||||
<v-divider></v-divider>
|
||||
@@ -52,9 +52,6 @@ export default {
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
t: function(tKey) {
|
||||
return window.$gz.translation.get(tKey);
|
||||
},
|
||||
ayaType: function() {
|
||||
return window.$gz.type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user