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>
|
<template>
|
||||||
<div v-if="isTLS">
|
<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
|
<t k="secret.certificate.expires" />: <DateComponent
|
||||||
:class="dateClass"
|
:class="dateClass"
|
||||||
:value="expiration"
|
:value="expiration"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue