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");

View File

@@ -1,5 +1,5 @@
<template>
<div v-resize="onResize" class="my-n8">
<div v-resize="onResize" class="my-n8">
<!-- <v-row dense>
<v-col> -->
<v-sheet height="64">
@@ -21,9 +21,7 @@
<template v-slot:activator="{ on, attrs }">
<v-btn outlined color="grey darken-2" v-bind="attrs" v-on="on">
<span>{{ typeToLabel[type] }}</span>
<v-icon right>
mdi-menu-down
</v-icon>
<v-icon right>$sort</v-icon>
</v-btn>
</template>
<v-list>
@@ -43,7 +41,6 @@
</v-menu>
</v-toolbar>
</v-sheet>
<!-- HEIGHT="600" -->
<v-sheet :height="calendarHeight">
<v-calendar
ref="calendar"