Fix #97 - Hide secret's format selector when the field is locked

This commit is contained in:
Bubka 2022-07-07 14:11:00 +02:00
parent fec900d651
commit b4240bf1af

View File

@ -31,7 +31,7 @@
<!-- secret -->
<label class="label" v-html="$t('twofaccounts.forms.secret.label')"></label>
<div class="field has-addons">
<p class="control">
<p v-if="!secretIsLocked" class="control">
<span class="select">
<select @change="form.secret=''" v-model="secretIsBase32Encoded">
<option v-for="format in secretFormats" :value="format.value">{{ format.text }}</option>