mirror of https://github.com/rancher/dashboard.git
Resolving an issue where we don't check to see if unrepeatedSans exists before using it (#12417)
https://github.com/rancher/dashboard/issues/12255
This commit is contained in:
parent
27dce1ed68
commit
001b6e922d
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue