Skip to content

Commit

Permalink
fix display bug
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Jun 5, 2024
1 parent b7a0687 commit afd370f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/CreateVault.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
</button>
<div v-if="onRecoverError != null">
<p v-if="onRecoverError instanceof FormValidationFailedError" class="text-sm text-red-900 mt-2">{{ t('createVault.error.formValidationFailed') }}</p>
<p v-if="onRecoverError instanceof DecodeUvfRecoveryKeyError || onRecoverError instanceof DecodeVf8RecoveryKeyError" class="text-sm text-red-900 mt-2">{{ t('createVault.error.invalidRecoveryKey') }}</p>
<p v-else-if="onRecoverError instanceof DecodeUvfRecoveryKeyError || onRecoverError instanceof DecodeVf8RecoveryKeyError" class="text-sm text-red-900 mt-2">{{ t('createVault.error.invalidRecoveryKey') }}</p>
<p v-else class="text-sm text-red-900 mt-2">{{ t('createVault.error.keyDoesNotMatchMetadata') }}</p>
</div>
</div>
Expand Down

0 comments on commit afd370f

Please sign in to comment.