Only show modal footer if uri was generated

pull/363/head
Ponkhy 3 years ago
parent 59cccf8c50
commit 463c385cf1

@ -38,7 +38,7 @@
</div> </div>
</div> </div>
<div v-if="twoFAStatus == false" class="modal-footer"> <div v-if="uri && twoFAStatus == false" class="modal-footer">
<button type="submit" class="btn btn-primary" :disabled="processing || tokenValid == false" @click="confirmEnableTwoFA()"> <button type="submit" class="btn btn-primary" :disabled="processing || tokenValid == false" @click="confirmEnableTwoFA()">
<div v-if="processing" class="spinner-border spinner-border-sm me-1"></div> <div v-if="processing" class="spinner-border spinner-border-sm me-1"></div>
{{ $t("Save") }} {{ $t("Save") }}

Loading…
Cancel
Save