Skip to content

Commit

Permalink
reverted the translation change from store and added to table row wit…
Browse files Browse the repository at this point in the history
…h certificate check (#184)
  • Loading branch information
Renuka9527 authored and rfrandse committed Feb 14, 2024
1 parent 2bd37ff commit 3cd3ce7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/modules/SecurityAndAccess/CertificatesStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const CertificatesStore = {
var acfCertificate = {
type: '',
location: '/redfish/v1/AccountService/Accounts/service',
certificate: i18n.t('pageCertificates.serviceLoginCertificate'),
certificate: 'ServiceLogin Certificate',
issuedBy: '',
issuedTo: '',
validFrom: '',
Expand Down
8 changes: 8 additions & 0 deletions src/views/SecurityAndAccess/Certificates/Certificates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@
:items="tableItems"
:empty-text="$t('global.table.emptyMessage')"
>
<!-- Certificate -->
<template #cell(certificate)="row">
{{
row.item.certificate === 'ServiceLogin Certificate'
? $t('pageCertificates.serviceLoginCertificate')
: row.item.certificate
}}
</template>
<template #cell(validFrom)="{ value }">
{{ value | formatDate }}
</template>
Expand Down

0 comments on commit 3cd3ce7

Please sign in to comment.