Skip to content

Commit

Permalink
feat(entities-certificates): preserve one column in lists (#1476)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder committed Jul 4, 2024
1 parent 24c8437 commit bb13e16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ const fetcherCacheKey = ref<number>(1)
*/
const disableSorting = computed((): boolean => props.config.app !== 'kongManager' || !!props.config.disableSorting)
const fields: BaseTableHeaders = {
issuer: { label: t('ca-certificates.list.table_headers.issuer') },
// the Issuer column is non-hidable
issuer: { label: t('ca-certificates.list.table_headers.issuer'), hidable: false },
expiry: { label: t('ca-certificates.list.table_headers.expiry') },
tags: { label: t('ca-certificates.list.table_headers.tags'), sortable: true },
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ const fetcherCacheKey = ref<number>(1)
*/
const disableSorting = computed((): boolean => props.config.app !== 'kongManager' || !!props.config.disableSorting)
const fields: BaseTableHeaders = {
subject: { label: t('certificates.list.table_headers.subject') },
// the Subject column is non-hidable
subject: { label: t('certificates.list.table_headers.subject'), hidable: false },
expiry: { label: t('certificates.list.table_headers.expiry') },
san: { label: t('certificates.list.table_headers.san') },
cert: { label: t('certificates.list.table_headers.cert') },
Expand Down

0 comments on commit bb13e16

Please sign in to comment.