re-factor / cleanup

This commit is contained in:
2022-01-11 22:08:38 +00:00
parent e871708b20
commit e0be8a7cfe
251 changed files with 14680 additions and 15693 deletions

View File

@@ -25,14 +25,14 @@
<ExtensionTags :data-list-selection="dataListSelection" />
<ExtensionExport :data-list-selection="dataListSelection" />
<ExtensionDelete
:data-list-selection="dataListSelection"
@ext-close-refresh="close({ refresh: true })"
@ext-show-job-log="handleError($event)"
:data-list-selection="dataListSelection"
/>
</v-expansion-panels>
</v-card-text>
<v-card-actions>
<v-btn text @click="close()" color="primary">{{
<v-btn text color="primary" @click="close()">{{
$ay.t("Close")
}}</v-btn>
</v-card-actions>
@@ -50,9 +50,6 @@ export default {
ExtensionExport,
ExtensionDelete
},
async created() {
await initForm(this);
},
data: () => ({
isVisible: false,
resolve: null,
@@ -68,6 +65,9 @@ export default {
languageName: window.$gz.locale.getResolvedLanguage(),
hour12: window.$gz.locale.getHour12()
}),
async created() {
await initForm(this);
},
methods: {
titleText() {
if (this.dataListSelection.selectedRowIds.length < 1) {
@@ -141,7 +141,7 @@ async function initForm(vm) {
//
// Ensures UI translated text is available
//
async function fetchTranslatedText(vm) {
async function fetchTranslatedText() {
await window.$gz.translation.cacheTranslations(["TimeStamp", "ID", "Status"]);
}