Fix edit dialog after renaming config value
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
9b643c830f
commit
bc69f22da2
3 changed files with 4 additions and 2 deletions
|
@ -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"),
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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)"
|
||||
|
|
2
internal/config/testdata/configEmpty.yml
vendored
2
internal/config/testdata/configEmpty.yml
vendored
|
@ -1,5 +1,7 @@
|
|||
theme: lavendel
|
||||
language: german
|
||||
templates:
|
||||
default: index.tmpl
|
||||
maps:
|
||||
animate: 0
|
||||
style: streets
|
||||
|
|
Loading…
Reference in a new issue