Skip to content

Commit

Permalink
script column types
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil committed Mar 31, 2021
1 parent 6e42565 commit db95e40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/assets/components/pages/ScriptsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ function ScriptsPageComponent(props: Object) {
sortable: true,
width: 90,
hide: false,
type: 'number',
},
{
field: 'memoryHumanReadable',
Expand All @@ -101,6 +102,7 @@ function ScriptsPageComponent(props: Object) {
return prettyBytes(params.getValue('memory'));
},
hide: false,
type: 'number',
},
{
field: 'lastUsedDate',
Expand All @@ -111,6 +113,7 @@ function ScriptsPageComponent(props: Object) {
return formatTime(params.getValue('lastUsedTimestamp'));
},
hide: false,
type: 'dateTime',
},
{
field: 'createDate',
Expand All @@ -120,6 +123,7 @@ function ScriptsPageComponent(props: Object) {
valueGetter: (params: ValueGetterParams) => {
return formatTime(params.getValue('createTimestamp'));
},
type: 'dateTime',
hide: true,
},
];
Expand Down

0 comments on commit db95e40

Please sign in to comment.