File tree Expand file tree Collapse file tree 1 file changed +24
-14
lines changed
libs/remix-ui/workspace/src/lib Expand file tree Collapse file tree 1 file changed +24
-14
lines changed Original file line number Diff line number Diff line change @@ -1254,22 +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
- < CustomTooltip
1258
- placement = "top"
1259
- tooltipId = "updateSubmodules"
1260
- tooltipClasses = "text-nowrap"
1261
- tooltipText = { < FormattedMessage id = "filePanel.updateSubmodules" /> }
1262
- >
1257
+
1263
1258
< div className = "pr-1" >
1264
- { global . fs . browser . isRequestingCloning ? < button style = { { height : 30 , minWidth : "9rem" } } className = 'btn btn-sm border text-dark' >
1265
- < i className = "fad fa-spinner fa-spin" > </ i >
1266
- Updating submodules
1267
- </ button > :
1268
- < button style = { { height : 30 , minWidth : "9rem" } } onClick = { updateSubModules } data-id = 'updatesubmodules' className = { `btn btn-sm border ${ highlightUpdateSubmodules ? 'text-warning' : 'text-dark' } ` } >
1269
- Update submodules
1270
- </ button > }
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
+ 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' } ` } >
1278
+ Update submodules
1279
+ </ button >
1280
+ </ CustomTooltip >
1281
+ }
1271
1282
</ div >
1272
- </ CustomTooltip >
1273
1283
: null
1274
1284
}
1275
1285
< CustomTooltip
You can’t perform that action at this time.
0 commit comments