Skip to content

Commit

Permalink
make last seen column a top level const
Browse files Browse the repository at this point in the history
  • Loading branch information
nunogois committed Nov 29, 2022
1 parent f016c63 commit b75dcbf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import { TimeAgoCell } from 'component/common/Table/cells/TimeAgoCell/TimeAgoCel

const hiddenColumnsSmall = ['Icon', 'createdAt'];
const hiddenColumnsFlagE = ['projects', 'environment'];
const hiddenColumnsFlagTokensLastSeen = ['seenAt'];

export const ApiTokenTable = () => {
const { tokens, loading } = useApiTokens();
Expand Down Expand Up @@ -62,7 +63,7 @@ export const ApiTokenTable = () => {
useHiddenColumns(setHiddenColumns, hiddenColumnsFlagE, !uiConfig.flags.E);
useHiddenColumns(
setHiddenColumns,
['seenAt'],
hiddenColumnsFlagTokensLastSeen,
!uiConfig.flags.tokensLastSeen
);

Expand Down

0 comments on commit b75dcbf

Please sign in to comment.