Frontend: Disable unavailable settings in read-only mode

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-05-07 10:52:18 +02:00
parent c505503485
commit 3073e0e53c

View file

@ -43,7 +43,7 @@
<v-flex xs12 sm6 lg3 class="px-2 pb-2 pt-2">
<v-checkbox
@change="onChange"
:disabled="busy"
:disabled="busy || readonly"
class="ma-0 pa-0"
v-model="settings.index.convert"
color="secondary-dark"
@ -115,7 +115,7 @@
<v-flex xs12 sm6 lg3 class="px-2 pb-2 pt-2">
<v-checkbox
@change="onChange"
:disabled="busy"
:disabled="busy || readonly"
class="ma-0 pa-0"
v-model="settings.features.upload"
color="secondary-dark"
@ -160,7 +160,7 @@
<v-flex xs12 sm6 lg3 class="px-2 pb-2 pt-2">
<v-checkbox
@change="onChange"
:disabled="busy"
:disabled="busy || readonly"
class="ma-0 pa-0"
v-model="settings.features.import"
color="secondary-dark"