Only show modal footer if uri was generated

This commit is contained in:
Ponkhy 2021-09-09 21:38:39 +02:00
parent 59cccf8c50
commit 463c385cf1

View File

@ -38,7 +38,7 @@
</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()">
<div v-if="processing" class="spinner-border spinner-border-sm me-1"></div>
{{ $t("Save") }}