diff --git a/web/dashboard-ui/src/App.tsx b/web/dashboard-ui/src/App.tsx
index 357974e6..acfde39e 100644
--- a/web/dashboard-ui/src/App.tsx
+++ b/web/dashboard-ui/src/App.tsx
@@ -11,7 +11,6 @@ import { ProgressProvider } from "./components/ProgressProvider";
import { AuthenticatorManageDialogContext } from "./views/organisms/AuthenticatorManageDialog";
import { EventDetailDialogContext } from "./views/organisms/EventDetailDialog";
import { PasswordChangeDialogContext } from "./views/organisms/PasswordChangeDialog";
-import { UserAddonChangeDialogContext } from "./views/organisms/UserAddonsChangeDialog";
import { UserInfoDialogContext } from "./views/organisms/UserInfoDialog";
import { UserContext } from "./views/organisms/UserModule";
import { UserNameChangeDialogContext } from "./views/organisms/UserNameChangeDialog";
@@ -102,11 +101,9 @@ function App() {
-
-
-
-
-
+
+
+
diff --git a/web/dashboard-ui/src/views/pages/UserPage.tsx b/web/dashboard-ui/src/views/pages/UserPage.tsx
index e37cfcab..9d07fe27 100644
--- a/web/dashboard-ui/src/views/pages/UserPage.tsx
+++ b/web/dashboard-ui/src/views/pages/UserPage.tsx
@@ -102,7 +102,6 @@ const UserMenu: React.VFC<{ user: User }> = ({ user: us }) => {
setAnchorEl(e.currentTarget)}
>
diff --git a/web/dashboard-ui/src/views/templates/PageTemplate.tsx b/web/dashboard-ui/src/views/templates/PageTemplate.tsx
index 616348e0..ca1df016 100644
--- a/web/dashboard-ui/src/views/templates/PageTemplate.tsx
+++ b/web/dashboard-ui/src/views/templates/PageTemplate.tsx
@@ -9,7 +9,6 @@ import {
Menu as MenuIcon,
Notifications,
ReportProblem,
- Settings,
SupervisorAccountTwoTone,
VpnKey,
Warning,
@@ -51,7 +50,6 @@ import { AuthenticatorManageDialogContext } from "../organisms/AuthenticatorMana
import { EventDetailDialogContext } from "../organisms/EventDetailDialog";
import { latestTime } from "../organisms/EventModule";
import { PasswordChangeDialogContext } from "../organisms/PasswordChangeDialog";
-import { UserAddonChangeDialogContext } from "../organisms/UserAddonsChangeDialog";
import { UserInfoDialogContext } from "../organisms/UserInfoDialog";
import {
isAdminRole,
@@ -101,8 +99,6 @@ export const PageTemplate: React.FC<
AuthenticatorManageDialogContext.useDispatch();
const passwordChangeDialogDispach = PasswordChangeDialogContext.useDispatch();
const userNameChangeDialogDispach = UserNameChangeDialogContext.useDispatch();
- const userAddonChangeDialogDispatch =
- UserAddonChangeDialogContext.useDispatch();
const userInfoDialogDispatch = UserInfoDialogContext.useDispatch();
const isAdmin = isAdminUser(loginUser);
const isSignIn = Boolean(loginUser);
@@ -132,12 +128,6 @@ export const PageTemplate: React.FC<
setAnchorEl(null);
};
- const changeAddons = () => {
- console.log("changeAddons");
- userAddonChangeDialogDispatch(true, { user: loginUser! });
- setAnchorEl(null);
- };
-
const openUserInfoDialog = () => {
console.log("openUserInfoDialog");
userInfoDialogDispatch(true, {
@@ -443,14 +433,6 @@ export const PageTemplate: React.FC<
Change DisplayName...
)}
- {isSignIn && isAdmin && (
-
- )}
{isSignIn && (