Skip to content

Commit

Permalink
show &mdash character is no encryptionSecret is empty
Browse files Browse the repository at this point in the history
Signed-off-by: andy.lee <andy.lee@suse.com>
  • Loading branch information
a110605 committed Sep 24, 2024
1 parent 03aeafc commit 7a63fc8
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,15 @@ export default {
<div class="text-label">
{{ t('harvester.image.encryptionSecret') }}
</div>
<n-link v-if="secretLink" :to="secretLink">
<n-link v-if="encryptionSecret && secretLink" :to="secretLink">
{{ encryptionSecret }}
</n-link>
<span v-else-if="encryptionSecret">
{{ encryptionSecret }}
</span>
<span v-else class="text-muted">
&mdash;
</span>
</div>
</div>
Expand Down

0 comments on commit 7a63fc8

Please sign in to comment.