File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
src/features/dashboard/templates Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -284,3 +284,15 @@ export function VisibilityCell({
284284 </ span >
285285 )
286286}
287+
288+ export function EnvdVersionCell ( {
289+ getValue,
290+ } : CellContext < Template | DefaultTemplate , unknown > ) {
291+ const versionValue = getValue ( ) as string
292+
293+ return (
294+ < span className = { cn ( 'text-fg-tertiary whitespace-nowrap font-mono' ) } >
295+ { versionValue }
296+ </ span >
297+ )
298+ }
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import {
1616 ActionsCell ,
1717 CpuCell ,
1818 CreatedAtCell ,
19+ EnvdVersionCell ,
1920 MemoryCell ,
2021 TemplateIdCell ,
2122 TemplateNameCell ,
@@ -138,6 +139,14 @@ export const useColumns = (deps: unknown[]) => {
138139 enableSorting : false ,
139140 filterFn : 'equals' ,
140141 } ,
142+ {
143+ accessorKey : 'envdVersion' ,
144+ header : 'Envd Version' ,
145+ size : 140 ,
146+ minSize : 100 ,
147+ cell : EnvdVersionCell ,
148+ enableSorting : false ,
149+ } ,
141150 ] ,
142151 deps
143152 )
You can’t perform that action at this time.
0 commit comments