File tree Expand file tree Collapse file tree 5 files changed +20
-13
lines changed
Expand file tree Collapse file tree 5 files changed +20
-13
lines changed Original file line number Diff line number Diff line change @@ -78,9 +78,10 @@ export default function FluxList() {
7878 accessor : 'created' ,
7979 } ,
8080 {
81- Header : '' ,
82- accessor : 'item' ,
83- hAlign : 'End' ,
81+ Header : 'YAML' ,
82+ hAlign : 'Center' ,
83+ width : 85 ,
84+ accessor : 'yaml' ,
8485 Cell : ( cellData : CellData < KustomizationsResponse [ 'items' ] > ) => (
8586 < YamlViewButton resourceObject = { cellData . cell . row . original ?. item } />
8687 ) ,
Original file line number Diff line number Diff line change @@ -87,9 +87,10 @@ export function Providers() {
8787 accessor : 'created' ,
8888 } ,
8989 {
90- Header : '' ,
91- hAlign : 'End' ,
92- accessor : 'item' ,
90+ Header : 'YAML' ,
91+ hAlign : 'Center' ,
92+ width : 85 ,
93+ accessor : 'yaml' ,
9394 Cell : ( cellData : CellData < ProvidersRow > ) => (
9495 < YamlViewButton resourceObject = { cellData . cell . row . original ?. item } />
9596 ) ,
Original file line number Diff line number Diff line change @@ -72,9 +72,10 @@ export function ProvidersConfig() {
7272 accessor : 'created' ,
7373 } ,
7474 {
75- Header : '' ,
76- accessor : 'resource' ,
77- hAlign : 'End' ,
75+ Header : 'YAML' ,
76+ hAlign : 'Center' ,
77+ width : 85 ,
78+ accessor : 'yaml' ,
7879 Cell : ( cellData : CellData < Rows > ) =>
7980 cellData . cell . row . original ?. resource ? (
8081 < YamlViewButton
Original file line number Diff line number Diff line change 1- import { AnalyticalTable } from '@ui5/webcomponents-react' ;
1+ import {
2+ AnalyticalTable ,
3+ AnalyticalTableColumnDefinition ,
4+ } from '@ui5/webcomponents-react' ;
25import { ThemingParameters } from '@ui5/webcomponents-react-base' ;
36import { CopyButton } from '../Shared/CopyButton.tsx' ;
47import useLuigiNavigate from '../Shared/useLuigiNavigate.tsx' ;
@@ -28,7 +31,7 @@ export default function ProjectsList() {
2831 } ) ?? [ ] ,
2932 [ data ] ,
3033 ) ;
31- const stabilizedColumns = useMemo (
34+ const stabilizedColumns : AnalyticalTableColumnDefinition [ ] = useMemo (
3235 ( ) => [
3336 {
3437 Header : t ( 'ProjectsListView.title' ) ,
@@ -73,6 +76,7 @@ export default function ProjectsList() {
7376 Header : 'YAML' ,
7477 accessor : 'yaml' ,
7578 width : 85 ,
79+ hAlign : 'Center' ,
7680 // eslint-disable-next-line @typescript-eslint/no-explicit-any
7781 Cell : ( instance : any ) => (
7882 < div
You can’t perform that action at this time.
0 commit comments