This commit is contained in:
2021-11-02 19:24:36 +00:00
parent efb8ce93e3
commit 3fae6b5913
2 changed files with 22 additions and 5 deletions

View File

@@ -5,7 +5,12 @@
</div>
<template>
<div class="mb-6 mb-sm-0">
<v-btn icon class="ml-n1 mr-2" @click="openDialog = true">
<v-btn
icon
class="ml-n1 mr-2"
@click="openDialog = true"
:data-cy="`${dataCy}:open`"
>
<v-icon>$ayiEdit</v-icon>
</v-btn>
<span @click="openDialog = true">{{ displayServiceAddress }}</span>
@@ -310,9 +315,13 @@
<v-card-actions>
<v-spacer></v-spacer>
<v-btn color="blue darken-1" text @click="close()">{{
$ay.t("OK")
}}</v-btn>
<v-btn
color="blue darken-1"
text
@click="close()"
:data-cy="`${dataCy}:btnok`"
>{{ $ay.t("OK") }}</v-btn
>
</v-card-actions>
</v-card>
</v-dialog>
@@ -369,6 +378,7 @@ export default {
default: null,
type: Object
},
dataCy: { type: String, default: null },
formKey: { type: String, default: "" }, //used to grab template from store
readonly: Boolean,
disabled: Boolean