mirror of
https://github.com/portainer/portainer.git
synced 2025-08-03 04:45: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
|
@ -113,11 +113,7 @@ angular
|
|||
$stateRegistryProvider.register({
|
||||
name: 'edge.devices',
|
||||
url: '/devices',
|
||||
views: {
|
||||
'content@': {
|
||||
component: 'edgeDevicesView',
|
||||
},
|
||||
},
|
||||
abstract: true,
|
||||
});
|
||||
|
||||
if (process.env.PORTAINER_EDITION === 'BE') {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import angular from 'angular';
|
||||
|
||||
import { r2a } from '@/react-tools/react2angular';
|
||||
import { ListView } from '@/react/edge/edge-devices/ListView';
|
||||
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
||||
import { withReactQuery } from '@/react-tools/withReactQuery';
|
||||
import { withUIRouter } from '@/react-tools/withUIRouter';
|
||||
|
@ -12,8 +11,4 @@ export const viewsModule = angular
|
|||
.component(
|
||||
'waitingRoomView',
|
||||
r2a(withUIRouter(withReactQuery(withCurrentUser(WaitingRoomView))), [])
|
||||
)
|
||||
.component(
|
||||
'edgeDevicesView',
|
||||
r2a(withUIRouter(withReactQuery(withCurrentUser(ListView))), [])
|
||||
).name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue