File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
src/components/ClusterNodes/ClusterList Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ const ClusterListRow = ({
62
62
return (
63
63
< div
64
64
key = { `cluster-${ clusterData . id } ` }
65
- className = { `cluster-list-row fw-4 cn-9 fs-13 dc__border-bottom-n1 pt -12 pb-12 pr-20 pl -20 hover-class dc__visible-hover dc__visible-hover--parent
65
+ className = { `cluster-list-row fw-4 cn-9 fs-13 dc__border-bottom-n1 py -12 px -20 hover-class dc__visible-hover dc__visible-hover--parent
66
66
${ clusterListLoader ? 'show-shimmer-loading dc__align-items-center' : '' } ` }
67
67
>
68
68
{ KubeConfigRowCheckbox && < KubeConfigRowCheckbox clusterData = { clusterData } /> }
Original file line number Diff line number Diff line change 5
5
BulkSelectionEvents ,
6
6
BulkSelectionIdentifiersType ,
7
7
BulkSelectionProvider ,
8
+ Button ,
9
+ ButtonVariantType ,
8
10
ClusterDetail ,
9
11
ClusterFiltersType ,
10
12
SearchBar ,
@@ -109,20 +111,18 @@ const ClusterListView = (props: ClusterViewType) => {
109
111
{ clusterListLoader ? (
110
112
< span className = "dc__loading-dots mr-20" > Syncing</ span >
111
113
) : (
112
- < div className = "flex left" >
114
+ < div className = "flex left dc__gap-8 " >
113
115
< span >
114
116
Last refreshed
115
117
< Timer start = { lastSyncTime } />
116
118
ago
117
119
</ span >
118
- < button
119
- type = "button"
120
- data-testid = "cluster-list-refresh-button"
121
- className = "btn btn-link p-0 fw-6 cb-5 ml-5 fs-13"
120
+ < Button
121
+ text = "Refresh"
122
+ dataTestId = "cluster-list-refresh-button"
122
123
onClick = { handleRefresh }
123
- >
124
- Refresh
125
- </ button >
124
+ variant = { ButtonVariantType . text }
125
+ />
126
126
</ div >
127
127
) }
128
128
</ div >
You can’t perform that action at this time.
0 commit comments