fix(access-token): fixed create access token view. (#7716)
parent
fcb76f570e
commit
3b2f0ff9eb
|
@ -1,7 +1,6 @@
|
||||||
import angular from 'angular';
|
import angular from 'angular';
|
||||||
|
|
||||||
import { r2a } from '@/react-tools/react2angular';
|
import { r2a } from '@/react-tools/react2angular';
|
||||||
import { CreateAccessToken } from '@/react/portainer/account/CreateAccessTokenView';
|
|
||||||
import {
|
import {
|
||||||
DefaultRegistryAction,
|
DefaultRegistryAction,
|
||||||
DefaultRegistryDomain,
|
DefaultRegistryDomain,
|
||||||
|
@ -13,7 +12,6 @@ import { AccessControlPanel } from '@/react/portainer/access-control';
|
||||||
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
import { withCurrentUser } from '@/react-tools/withCurrentUser';
|
||||||
import { withReactQuery } from '@/react-tools/withReactQuery';
|
import { withReactQuery } from '@/react-tools/withReactQuery';
|
||||||
import { withUIRouter } from '@/react-tools/withUIRouter';
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
||||||
import { withI18nSuspense } from '@/react-tools/withI18nSuspense';
|
|
||||||
import { SettingsFDO } from '@/react/portainer/settings/EdgeComputeView/SettingsFDO';
|
import { SettingsFDO } from '@/react/portainer/settings/EdgeComputeView/SettingsFDO';
|
||||||
import { SettingsOpenAMT } from '@/react/portainer/settings/EdgeComputeView/SettingsOpenAMT';
|
import { SettingsOpenAMT } from '@/react/portainer/settings/EdgeComputeView/SettingsOpenAMT';
|
||||||
import { InternalAuth } from '@/react/portainer/settings/AuthenticationView/InternalAuth';
|
import { InternalAuth } from '@/react/portainer/settings/AuthenticationView/InternalAuth';
|
||||||
|
@ -130,13 +128,6 @@ export const componentsModule = angular
|
||||||
'defaultRegistryDomain',
|
'defaultRegistryDomain',
|
||||||
r2a(withReactQuery(DefaultRegistryDomain), [])
|
r2a(withReactQuery(DefaultRegistryDomain), [])
|
||||||
)
|
)
|
||||||
.component(
|
|
||||||
'createAccessToken',
|
|
||||||
r2a(withI18nSuspense(withUIRouter(CreateAccessToken)), [
|
|
||||||
'onSubmit',
|
|
||||||
'onError',
|
|
||||||
])
|
|
||||||
)
|
|
||||||
.component(
|
.component(
|
||||||
'settingsFdo',
|
'settingsFdo',
|
||||||
r2a(withUIRouter(withReactQuery(SettingsFDO)), ['onSubmit', 'settings'])
|
r2a(withUIRouter(withReactQuery(SettingsFDO)), ['onSubmit', 'settings'])
|
||||||
|
|
Loading…
Reference in New Issue