|
|
@ -523,7 +523,8 @@ export function Workspace () { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</CustomTooltip>, |
|
|
|
</CustomTooltip>, |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
let menuLength = workspaceMenuIcons.length |
|
|
|
|
|
|
|
let count = 0 |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className='d-flex flex-column justify-content-between h-100'> |
|
|
|
<div className='d-flex flex-column justify-content-between h-100'> |
|
|
|
<div className='remixui_container overflow-auto' style={{ maxHeight: selectedWorkspace && selectedWorkspace.isGitRepo ? '95%' : '100%' }}> |
|
|
|
<div className='remixui_container overflow-auto' style={{ maxHeight: selectedWorkspace && selectedWorkspace.isGitRepo ? '95%' : '100%' }}> |
|
|
@ -570,7 +571,7 @@ export function Workspace () { |
|
|
|
{ |
|
|
|
{ |
|
|
|
workspaceMenuIcons.map(m => { |
|
|
|
workspaceMenuIcons.map(m => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<Dropdown.Item key={`wsdropdownMenu-${new Date().getMilliseconds()}`}> |
|
|
|
<Dropdown.Item key={`wsdropdownMenu-${count !== menuLength ? count++ : count }`}> |
|
|
|
{m} |
|
|
|
{m} |
|
|
|
</Dropdown.Item> |
|
|
|
</Dropdown.Item> |
|
|
|
) |
|
|
|
) |
|
|
|