Skip to content

Commit 833bca5

Browse files
committed
refactor
1 parent b7a96b3 commit 833bca5

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

src/components/ControlPlane/FluxList.tsx

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ export default function FluxList() {
5555
accessor: 'name',
5656
minWidth: 250,
5757
},
58+
59+
{
60+
Header: t('FluxList.tableVersionHeader'),
61+
accessor: 'revision',
62+
},
63+
{
64+
Header: t('FluxList.tableCreatedHeader'),
65+
accessor: 'created',
66+
},
5867
{
5968
Header: t('FluxList.tableStatusHeader'),
6069
accessor: 'status',
@@ -72,14 +81,6 @@ export default function FluxList() {
7281
/>
7382
) : null,
7483
},
75-
{
76-
Header: t('FluxList.tableVersionHeader'),
77-
accessor: 'revision',
78-
},
79-
{
80-
Header: t('FluxList.tableCreatedHeader'),
81-
accessor: 'created',
82-
},
8384
{
8485
Header: t('yaml.YAML'),
8586
hAlign: 'Center',
@@ -100,6 +101,10 @@ export default function FluxList() {
100101
accessor: 'name',
101102
minWidth: 250,
102103
},
104+
{
105+
Header: t('FluxList.tableCreatedHeader'),
106+
accessor: 'created',
107+
},
103108
{
104109
Header: t('FluxList.tableStatusHeader'),
105110
accessor: 'status',
@@ -117,10 +122,7 @@ export default function FluxList() {
117122
/>
118123
) : null,
119124
},
120-
{
121-
Header: t('FluxList.tableCreatedHeader'),
122-
accessor: 'created',
123-
},
125+
124126
{
125127
Header: t('yaml.YAML'),
126128
hAlign: 'Center',

src/components/ControlPlane/Providers.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ export function Providers() {
5858
Header: t('Providers.tableHeaderVersion'),
5959
accessor: 'version',
6060
},
61+
{
62+
Header: t('Providers.tableHeaderCreated'),
63+
accessor: 'created',
64+
},
6165
{
6266
Header: t('Providers.tableHeaderInstalled'),
6367
accessor: 'installed',
@@ -86,10 +90,7 @@ export function Providers() {
8690
/>
8791
) : null,
8892
},
89-
{
90-
Header: t('Providers.tableHeaderCreated'),
91-
accessor: 'created',
92-
},
93+
9394
{
9495
Header: t('yaml.YAML'),
9596
hAlign: 'Center',

0 commit comments

Comments
 (0)