Skip to content

Commit

Permalink
Resolving an issue where we don't check to see if unrepeatedSans exis…
Browse files Browse the repository at this point in the history
…ts before using it

#12255
  • Loading branch information
codyrancher committed Oct 29, 2024
1 parent 456fc9a commit 243e744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/components/formatter/SecretData.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default {

<template>
<div v-if="isTLS">
<t k="secret.certificate.cn" /> {{ cn }} <span v-if="row.unrepeatedSans.length">{{ t('secret.certificate.plusMore', {n:row.unrepeatedSans.length}) }}</span><br>
<t k="secret.certificate.cn" /> {{ cn }} <span v-if="row.unrepeatedSans && row.unrepeatedSans.length">{{ t('secret.certificate.plusMore', {n:row.unrepeatedSans.length}) }}</span><br>
<t k="secret.certificate.expires" />: <DateComponent
:class="dateClass"
:value="expiration"
Expand Down

0 comments on commit 243e744

Please sign in to comment.