Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add active inactivities button to tools popout
  • Loading branch information
regalijan committed Jan 23, 2025
1 parent 42cad11 commit bde4727
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/routes/mod-queue.tsx
Expand Up @@ -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],
Expand All @@ -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",
Expand Down Expand Up @@ -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(),
Expand Down

0 comments on commit bde4727

Please sign in to comment.