Add active inactivities button to tools popout
This commit is contained in:
parent
42cad11bf6
commit
bde4727d9f
@ -53,6 +53,7 @@ export async function loader({ context }: { context: RequestContext }) {
|
||||
};
|
||||
|
||||
const newItemPermissions = {
|
||||
active_inactivities: [1 << 0, 1 << 2, 1 << 3, 1 << 9, 1 << 10],
|
||||
appeal_bans: [1 << 0, 1 << 11],
|
||||
game_ban: [1 << 5],
|
||||
inactivity: [1 << 2, 1 << 3, 1 << 9, 1 << 10],
|
||||
@ -61,6 +62,7 @@ export async function loader({ context }: { context: RequestContext }) {
|
||||
};
|
||||
|
||||
const newItemNames: { [k: string]: string } = {
|
||||
active_inactivities: "Active Inactivity Notices",
|
||||
appeal_bans: "Appeal Bans",
|
||||
game_ban: "New Game Ban",
|
||||
gme: "Game Mod Management",
|
||||
@ -328,6 +330,11 @@ export default function () {
|
||||
[k: string]: any;
|
||||
};
|
||||
} = {
|
||||
active_inactivities: {
|
||||
isOpen: false,
|
||||
onClose: () => {},
|
||||
onOpen: () => location.assign("/inactivities"),
|
||||
},
|
||||
appeal_bans: useDisclosure(),
|
||||
game_ban: useDisclosure(),
|
||||
gme: useDisclosure(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user