mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(edge/waitingroom): hide sidebar when disabled [EE-6003] (#10343)
This commit is contained in:
parent
20823a7f27
commit
5f9687a361
2 changed files with 21 additions and 3 deletions
|
@ -25,7 +25,7 @@ export function Sidebar() {
|
|||
return null;
|
||||
}
|
||||
|
||||
const { EnableEdgeComputeFeatures, LogoURL } = settingsQuery.data;
|
||||
const { LogoURL } = settingsQuery.data;
|
||||
|
||||
return (
|
||||
/* in the future (when we remove r2a) this should wrap the whole app - to change root styles */
|
||||
|
@ -50,7 +50,7 @@ export function Sidebar() {
|
|||
data-cy="portainerSidebar-home"
|
||||
/>
|
||||
<EnvironmentSidebar />
|
||||
{isAdmin && EnableEdgeComputeFeatures && <EdgeComputeSidebar />}
|
||||
{isAdmin && <EdgeComputeSidebar />}
|
||||
<SettingsSidebar isAdmin={isAdmin} isTeamLeader={isTeamLeader} />
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue