This commit is contained in:
2021-09-14 00:49:20 +00:00
parent 895b4fc7e0
commit 1c9c6f8475
3 changed files with 27 additions and 8 deletions

View File

@@ -1,7 +1,12 @@
<template>
<div class="mt-6">
<div>
<v-btn depressed tile @click="toggleReveal">
<v-btn
depressed
tile
@click="toggleReveal"
:color="isEmpty ? null : 'primary'"
>
Wiki<v-icon v-text="reveal ? '$ayiEyeSlash' : '$ayiEye'" right></v-icon
></v-btn>
</div>
@@ -401,6 +406,11 @@ export default {
this.localVal = value ?? "";
}
},
computed: {
isEmpty() {
return this.value == null;
}
},
methods: {
goHelp() {
window.open(this.$store.state.helpUrl + "ay-start-form-wiki", "_blank");