File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed
Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export const CrossplaneHint: React.FC<CrossplaneHintProps> = ({
7878 < Card
7979 header = {
8080 < CardHeader
81- additionalText = { enabled ? `${ t ( 'Hints.CrossplaneHint.activeStatus' ) } ${ version ?? '' } ` : undefined }
81+ additionalText = { enabled ? `v ${ version ?? '' } ` : undefined }
8282 avatar = {
8383 < img
8484 src = "/crossplane-icon.png"
@@ -108,21 +108,33 @@ export const CrossplaneHint: React.FC<CrossplaneHintProps> = ({
108108 value = { 0 }
109109 displayValue = { t ( 'Hints.common.loading' ) }
110110 valueState = "None"
111- style = { { width : '80%' , maxWidth : 500 , minWidth : 120 } }
111+ style = { {
112+ width : '80%' ,
113+ maxWidth : 500 ,
114+ minWidth : 120 ,
115+ } }
112116 />
113117 ) : error ? (
114118 < ProgressIndicator
115119 value = { 0 }
116120 displayValue = { t ( 'Hints.common.errorLoadingResources' ) }
117121 valueState = "Negative"
118- style = { { width : '80%' , maxWidth : 500 , minWidth : 120 } }
122+ style = { {
123+ width : '80%' ,
124+ maxWidth : 500 ,
125+ minWidth : 120 ,
126+ } }
119127 />
120128 ) : (
121129 < ProgressIndicator
122130 value = { progressValue }
123131 displayValue = { progressDisplay }
124132 valueState = { progressValueState }
125- style = { { width : '80%' , maxWidth : 500 , minWidth : 120 } }
133+ style = { {
134+ width : '80%' ,
135+ maxWidth : 500 ,
136+ minWidth : 120 ,
137+ } }
126138 />
127139 ) }
128140 </ div >
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export const GitOpsHint: React.FC<GitOpsHintProps> = ({
5555 < Card
5656 header = {
5757 < CardHeader
58- additionalText = { enabled ? `${ t ( 'Hints.GitOpsHint.activeStatus' ) } ${ version ?? '' } ` : undefined }
58+ additionalText = { enabled ? `v ${ version ?? '' } ` : undefined }
5959 avatar = {
6060 < img
6161 src = "/flux.png"
You can’t perform that action at this time.
0 commit comments