@@ -1254,32 +1254,32 @@ export function Workspace() {
1254
1254
< div className = "d-flex justify-content-between p-1" >
1255
1255
< div className = "text-uppercase text-dark pt-1 px-1" > GIT</ div >
1256
1256
{ selectedWorkspace . hasGitSubmodules ?
1257
-
1258
- < div className = "pr-1" >
1259
- { global . fs . browser . isRequestingCloning ?
1260
- < CustomTooltip
1261
- placement = "top"
1262
- tooltipId = "updatingSubmodules"
1263
- tooltipClasses = "text-nowrap"
1264
- tooltipText = { "Updating submodules" }
1265
- >
1266
- < button style = { { height : 30 , minWidth : "9rem" } } className = 'btn btn-sm border text-dark' >
1267
- < i className = "fad fa-spinner fa-spin mr-2" > </ i >
1257
+
1258
+ < div className = "pr-1" >
1259
+ { global . fs . browser . isRequestingCloning ?
1260
+ < CustomTooltip
1261
+ placement = "top"
1262
+ tooltipId = "updatingSubmodules"
1263
+ tooltipClasses = "text-nowrap"
1264
+ tooltipText = { "Updating submodules" }
1265
+ >
1266
+ < button style = { { height : 30 , minWidth : "9rem" } } className = 'btn btn-sm border text-dark' >
1267
+ < i className = "fad fa-spinner fa-spin mr-2" > </ i >
1268
1268
Updating...
1269
- </ button >
1270
- </ CustomTooltip > :
1271
- < CustomTooltip
1272
- placement = "top"
1273
- tooltipId = "updateSubmodules"
1274
- tooltipClasses = "text-nowrap"
1275
- tooltipText = { < FormattedMessage id = "filePanel.updateSubmodules" /> }
1276
- >
1277
- < button style = { { height : 30 , minWidth : "9rem" } } onClick = { updateSubModules } data-id = 'updatesubmodules' className = { `btn btn-sm border ${ highlightUpdateSubmodules ? 'text-warning' : 'text-dark' } ` } >
1269
+ </ button >
1270
+ </ CustomTooltip > :
1271
+ < CustomTooltip
1272
+ placement = "top"
1273
+ tooltipId = "updateSubmodules"
1274
+ tooltipClasses = "text-nowrap"
1275
+ tooltipText = { < FormattedMessage id = "filePanel.updateSubmodules" /> }
1276
+ >
1277
+ < button style = { { height : 30 , minWidth : "9rem" } } onClick = { updateSubModules } data-id = 'updatesubmodules' className = { `btn btn-sm border ${ highlightUpdateSubmodules ? 'text-warning' : 'text-dark' } ` } >
1278
1278
Update submodules
1279
- </ button >
1280
- </ CustomTooltip >
1281
- }
1282
- </ div >
1279
+ </ button >
1280
+ </ CustomTooltip >
1281
+ }
1282
+ </ div >
1283
1283
: null
1284
1284
}
1285
1285
< CustomTooltip
0 commit comments