From 3b2f0ff9eb822cf2fe9a272d7e03fd3dd360357a Mon Sep 17 00:00:00 2001 From: fhanportainer <79428273+fhanportainer@users.noreply.github.com> Date: Fri, 23 Sep 2022 16:29:25 +1200 Subject: [PATCH] fix(access-token): fixed create access token view. (#7716) --- app/portainer/react/components/index.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/portainer/react/components/index.ts b/app/portainer/react/components/index.ts index e53075c0b..e641a4388 100644 --- a/app/portainer/react/components/index.ts +++ b/app/portainer/react/components/index.ts @@ -1,7 +1,6 @@ import angular from 'angular'; import { r2a } from '@/react-tools/react2angular'; -import { CreateAccessToken } from '@/react/portainer/account/CreateAccessTokenView'; import { DefaultRegistryAction, DefaultRegistryDomain, @@ -13,7 +12,6 @@ import { AccessControlPanel } from '@/react/portainer/access-control'; import { withCurrentUser } from '@/react-tools/withCurrentUser'; import { withReactQuery } from '@/react-tools/withReactQuery'; import { withUIRouter } from '@/react-tools/withUIRouter'; -import { withI18nSuspense } from '@/react-tools/withI18nSuspense'; import { SettingsFDO } from '@/react/portainer/settings/EdgeComputeView/SettingsFDO'; import { SettingsOpenAMT } from '@/react/portainer/settings/EdgeComputeView/SettingsOpenAMT'; import { InternalAuth } from '@/react/portainer/settings/AuthenticationView/InternalAuth'; @@ -130,13 +128,6 @@ export const componentsModule = angular 'defaultRegistryDomain', r2a(withReactQuery(DefaultRegistryDomain), []) ) - .component( - 'createAccessToken', - r2a(withI18nSuspense(withUIRouter(CreateAccessToken)), [ - 'onSubmit', - 'onError', - ]) - ) .component( 'settingsFdo', r2a(withUIRouter(withReactQuery(SettingsFDO)), ['onSubmit', 'settings'])