Skip to content

Commit

Permalink
old
Browse files Browse the repository at this point in the history
  • Loading branch information
homexp13 committed Jul 26, 2024
1 parent cde5cca commit 4c019b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tgui/packages/tgui/interfaces/Cargo.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const Menu = (props, context) => {
const OrderList = (props, context) => {
const { act, data } = useBackend(context);

const { type, buttons, readOnly, delivery_acces} = props;
const { type, buttons, readOnly} = props;

const [selectedMenu, setSelectedMenu] = useLocalState(
context,
Expand Down Expand Up @@ -284,7 +284,7 @@ const OrderList = (props, context) => {
onClick={() => act('delivery', { id: id })}
icon="luggage-cart"
content="Delivery"
disabled={!data.beacon && orderer === data.user_real_name || delivery_acces}
disabled={!data.beacon}
/>
)}
</>
Expand Down

0 comments on commit 4c019b6

Please sign in to comment.