src/frontend/views/settings/Variables/index.tsx
import { useSetPageDetails } from "@/frontend/lib/routing/usePageDetails";
import { UserPermissions } from "@/shared/constants/user";
import { BaseSettingsLayout } from "../_Base";
import { SETTINGS_VIEW_KEY } from "../constants";
import { BaseManageVariables, ManageVariablesPageTitle } from "./Base";
export function VariablesSettings() {
useSetPageDetails({
pageTitle: ManageVariablesPageTitle,
viewKey: SETTINGS_VIEW_KEY,
permission: UserPermissions.CAN_CONFIGURE_APP,
});
return (
<BaseSettingsLayout>
<BaseManageVariables />
</BaseSettingsLayout>
);
}