Skip to content

Commit

Permalink
attempted conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed Aug 18, 2023
1 parent c2e3595 commit cb4d971
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tgui/packages/tgui/interfaces/WorkingJoe.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ const MainMenu = (props, context) => {
access_level,
ticket_console,
} = data;
let can_request_access = 'Yes';
if (access_level === 3) {
can_request_access = 'No';
}

return (
<>
Expand Down Expand Up @@ -117,7 +121,7 @@ const MainMenu = (props, context) => {
<Stack.Item grow>
<h3>Request Submission</h3>
</Stack.Item>
{access_level <= 2 && (
{can_request_access === 'Yes' && (
<Stack.Item>
<Button
content="Request Access Ticket"
Expand Down

0 comments on commit cb4d971

Please sign in to comment.