1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

refactor(app): app events datatable [EE-5355] (#10024)

This commit is contained in:
Ali 2023-08-14 05:09:40 +12:00 committed by GitHub
parent 0eaf296e1b
commit c472fe9c18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 277 additions and 19 deletions

View file

@ -15,6 +15,7 @@ import { withUIRouter } from '@/react-tools/withUIRouter';
import {
ApplicationSummaryWidget,
ApplicationDetailsWidget,
ApplicationEventsDatatable,
} from '@/react/kubernetes/applications/DetailsView';
import { withUserProvider } from '@/react/test-utils/withUserProvider';
import { withFormValidation } from '@/react-tools/withFormValidation';
@ -109,9 +110,21 @@ export const ngModule = angular
[]
)
)
.component(
'applicationEventsDatatable',
r2a(
withUIRouter(
withReactQuery(withUserProvider(ApplicationEventsDatatable))
),
[]
)
)
.component(
'kubernetesApplicationPlacementsDatatable',
r2a(withCurrentUser(PlacementsDatatable), ['dataset', 'onRefresh'])
r2a(withUIRouter(withCurrentUser(PlacementsDatatable)), [
'dataset',
'onRefresh',
])
);
export const componentsModule = ngModule.name;