1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

refactor(edge/stacks): migrate list view to react [EE-2237] (#9186)

This commit is contained in:
Chaim Lev-Ari 2023-07-12 18:26:52 +04:00 committed by GitHub
parent 020ecb740a
commit a216a1e960
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 482 additions and 298 deletions

View file

@ -5,10 +5,15 @@ import { withCurrentUser } from '@/react-tools/withCurrentUser';
import { withReactQuery } from '@/react-tools/withReactQuery';
import { withUIRouter } from '@/react-tools/withUIRouter';
import { WaitingRoomView } from '@/react/edge/edge-devices/WaitingRoomView';
import { ListView } from '@/react/edge/edge-stacks/ListView';
export const viewsModule = angular
.module('portainer.edge.react.views', [])
.component(
'waitingRoomView',
r2a(withUIRouter(withReactQuery(withCurrentUser(WaitingRoomView))), [])
)
.component(
'edgeStacksView',
r2a(withUIRouter(withCurrentUser(ListView)), [])
).name;