re-factor / cleanup
This commit is contained in:
@@ -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"]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user