Fix edit dialog after renaming config value

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-05-05 19:44:02 +02:00
parent 9b643c830f
commit bc69f22da2
3 changed files with 4 additions and 2 deletions

View file

@ -73,7 +73,7 @@
total: 0,
completed: 0,
started: 0,
review: this.$config.settings().features.review,
review: this.$config.feature("review"),
safe: !this.$config.get("uploadNSFW"),
}
},

View file

@ -361,7 +361,7 @@
</v-btn>
<v-btn color="secondary-dark" depressed dark @click.stop="save(false)"
class="p-photo-dialog-confirm">
<span v-if="config.settings.feature.review && model.PhotoQuality < 3">Approve</span>
<span v-if="$config.feature('review') && model.PhotoQuality < 3">Approve</span>
<span v-else>Apply</span>
</v-btn>
<v-btn color="secondary-dark" depressed dark @click.stop="save(true)"

View file

@ -1,5 +1,7 @@
theme: lavendel
language: german
templates:
default: index.tmpl
maps:
animate: 0
style: streets