mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 13:55:21 +02:00
feat(home): move edge device to view [EE-4559] (#8189)
Co-authored-by: matias.spinarolli <matias.spinarolli@portainer.io>
This commit is contained in:
parent
b4a6f6911c
commit
7fe0712b61
72 changed files with 988 additions and 1593 deletions
|
@ -1,17 +1,13 @@
|
|||
import { Box, Clock, LayoutGrid, Layers } from 'lucide-react';
|
||||
|
||||
import { isBE } from '../portainer/feature-flags/feature-flags.service';
|
||||
|
||||
import { SidebarItem } from './SidebarItem';
|
||||
import { SidebarSection } from './SidebarSection';
|
||||
|
||||
export function EdgeComputeSidebar() {
|
||||
return (
|
||||
<SidebarSection title="Edge compute">
|
||||
<SidebarItem
|
||||
to="edge.devices"
|
||||
label="Edge Devices"
|
||||
icon={Box}
|
||||
data-cy="portainerSidebar-edgeDevices"
|
||||
/>
|
||||
<SidebarItem
|
||||
to="edge.groups"
|
||||
label="Edge Groups"
|
||||
|
@ -30,6 +26,14 @@ export function EdgeComputeSidebar() {
|
|||
icon={Clock}
|
||||
data-cy="portainerSidebar-edgeJobs"
|
||||
/>
|
||||
{isBE && (
|
||||
<SidebarItem
|
||||
to="edge.devices.waiting-room"
|
||||
label="Waiting Room"
|
||||
icon={Box}
|
||||
data-cy="portainerSidebar-edgeDevicesWaitingRoom"
|
||||
/>
|
||||
)}
|
||||
</SidebarSection>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue