This commit is contained in:
2020-07-07 19:06:45 +00:00
parent a180c450bd
commit 65969fcfb8

View File

@@ -1,6 +1,8 @@
<template> <template>
<v-expansion-panel v-if="available()"> <v-expansion-panel v-if="available()">
<v-expansion-panel-header>{{ $ay.t("Tags") }}</v-expansion-panel-header> <v-expansion-panel-header disable-icon-rotate expand-icon="fa-tags">{{
$ay.t("Tags")
}}</v-expansion-panel-header>
<v-expansion-panel-content> <v-expansion-panel-content>
<v-radio-group v-model="action"> <v-radio-group v-model="action">
<v-radio :label="$ay.t('Add')" value="Add"></v-radio> <v-radio :label="$ay.t('Add')" value="Add"></v-radio>
@@ -26,9 +28,13 @@
></v-text-field> ></v-text-field>
</v-col> </v-col>
</v-row> </v-row>
<v-btn color="blue darken-1" text @click="doAction()">{{ <v-btn
$ay.t("OK") color="blue darken-1"
}}</v-btn> text
@click="doAction()"
:loading="jobActive"
>{{ $ay.t("StartJob") }}</v-btn
>
</v-expansion-panel-content> </v-expansion-panel-content>
</v-expansion-panel> </v-expansion-panel>
</template> </template>
@@ -37,13 +43,16 @@ export default {
data: () => ({ data: () => ({
action: "Add", action: "Add",
tag: null, tag: null,
replace: null replace: null,
jobActive: false
}), }),
methods: { methods: {
available() { available() {
return true; return true;
}, },
doAction() {}, doAction() {
//do the bulk action
},
normalize(value) { normalize(value) {
if (!value) { if (!value) {
return null; return null;