Skip to content

Commit

Permalink
Add 'Devices' component to '/manage' route and remove unused agent-re…
Browse files Browse the repository at this point in the history
…lated quick actions

The '/manage' route now includes the 'Devices' component for better navigation. Removed outdated agent management quick actions like 'Update Agent' and 'Reinstall Agent' from the DeviceQuickActionReference file to streamline functionality and
  • Loading branch information
SquirrelDevelopper committed Feb 5, 2025
1 parent 763f92a commit b968047
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 39 deletions.
1 change: 1 addition & 0 deletions client/config/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default [
path: '/manage',
name: 'Manage',
icon: 'GlobalOutlined',
component: './Devices',
routes: [
{
name: 'Devices',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,45 +100,6 @@ const DeviceQuickActionReference: QuickActionReferenceType[] = [
onAdvancedMenu: true,
type: Types.DIVIDER,
},
{
type: Types.PLAYBOOK,
playbookQuickRef: 'updateAgent',
onAdvancedMenu: true,
icon: <ToTopOutlined />,
label: 'Update Agent',
},
{
type: Types.PLAYBOOK,
playbookQuickRef: 'reinstallAgent',
onAdvancedMenu: true,
icon: <DownloadOutlined />,
label: 'Reinstall Agent',
},
{
type: Types.PLAYBOOK,
playbookQuickRef: 'restartAgent',
onAdvancedMenu: true,
icon: <ThunderboltOutlined />,
label: 'Restart Agent',
},
{
type: Types.PLAYBOOK,
onAdvancedMenu: true,
playbookQuickRef: 'retrieveAgentLogs',
icon: <BugOutlined />,
label: 'Retrieve Agent Logs',
},
{
onAdvancedMenu: true,
type: Types.DIVIDER,
},
{
type: Types.PLAYBOOK,
playbookQuickRef: 'uninstallAgent',
onAdvancedMenu: true,
icon: <DeleteOutlined />,
label: 'Uninstall Agent',
},
{
type: Types.ACTION,
action: Actions.DELETE,
Expand Down

0 comments on commit b968047

Please sign in to comment.