feat: removed user paywall for user management and fixed a type error

This commit is contained in:
=
2025-03-11 16:03:39 +05:30
parent 872a3fe48d
commit 719a18c218
3 changed files with 3 additions and 16 deletions
@@ -42,7 +42,6 @@ import {
} from "@app/hooks/api";
import { UsePopUpState } from "@app/hooks/usePopUp";
const deleteUserUpgradePlanMessage = "Deleting users via Admin UI";
const addServerAdminUpgradePlanMessage = "Granting another user Server Admin permissions";
const UserPanelTable = ({
@@ -156,14 +155,6 @@ const UserPanelTable = ({
<DropdownMenuItem
onClick={(e) => {
e.stopPropagation();
if (!subscription?.instanceUserManagement) {
handlePopUpOpen("upgradePlan", {
username,
id,
message: deleteUserUpgradePlanMessage
});
return;
}
handlePopUpOpen("removeUser", { username, id });
}}
>