mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
refactor(edge): move edge codebase to react (#7781)
This commit is contained in:
parent
75f40fe485
commit
1e4c4e2616
54 changed files with 254 additions and 187 deletions
|
@ -1,17 +1,11 @@
|
|||
import angular from 'angular';
|
||||
|
||||
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
||||
import { r2a } from '@/react-tools/react2angular';
|
||||
import { withReactQuery } from '@/react-tools/withReactQuery';
|
||||
import { withUIRouter } from '@/react-tools/withUIRouter';
|
||||
import edgeStackModule from './views/edge-stacks';
|
||||
import { componentsModule } from './components';
|
||||
import { WaitingRoomView } from './EdgeDevices/WaitingRoomView';
|
||||
import { reactModule } from './react';
|
||||
|
||||
angular
|
||||
.module('portainer.edge', [edgeStackModule, componentsModule, reactModule])
|
||||
.component('waitingRoomView', r2a(withUIRouter(withReactQuery(withCurrentUser(WaitingRoomView))), []))
|
||||
.module('portainer.edge', [edgeStackModule, reactModule])
|
||||
|
||||
.config(function config($stateRegistryProvider) {
|
||||
const edge = {
|
||||
name: 'edge',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue