2022-05-17 04:22:44 +00:00
|
|
|
import angular from 'angular';
|
2022-07-17 23:02:14 +00:00
|
|
|
import { Gpu } from 'Docker/react/views/gpu';
|
2022-05-17 04:22:44 +00:00
|
|
|
|
2022-06-26 14:16:50 +00:00
|
|
|
import { ItemView } from '@/react/docker/networks/ItemView';
|
|
|
|
import { r2a } from '@/react-tools/react2angular';
|
|
|
|
|
|
|
|
export const viewsModule = angular
|
|
|
|
.module('portainer.docker.react.views', [])
|
2022-07-17 23:02:14 +00:00
|
|
|
.component(
|
|
|
|
'gpu',
|
|
|
|
r2a(Gpu, ['values', 'onChange', 'gpus', 'usedGpus', 'usedAllGpus'])
|
|
|
|
)
|
2022-06-26 14:16:50 +00:00
|
|
|
.component('networkDetailsView', r2a(ItemView, [])).name;
|