From 623103ed90bc947da156238a5d1c209fd8b72eb9 Mon Sep 17 00:00:00 2001 From: Brandon Smith Date: Fri, 19 Jan 2024 19:12:59 -0600 Subject: [PATCH] Show Events tab for everyone who's allowed to purchase tickets --- front-end/src/components/App.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/front-end/src/components/App.tsx b/front-end/src/components/App.tsx index dbf4847..2fad8dc 100644 --- a/front-end/src/components/App.tsx +++ b/front-end/src/components/App.tsx @@ -42,18 +42,7 @@ export default observer(() => { icon: 'confirmation_number' as const, component: Tickets }, - // Store.accountInfo.state.result?.allowed_to_purchase - [ - 'dcd441a2-0b4b-4e52-961c-b7860fa9977c', - '44f222b3-928e-41f1-93a7-c35e7fae29bc', - '2b8103ae-468a-4750-a07a-47125aef2cb0', - '82eafa98-3089-40e8-9d2b-0ee267844621', - 'bd6c3734-91d9-486a-9924-c0acefb77c21', - 'cf64358e-2b97-4472-a503-5e2aca1ba117', - '1d8e8b2d-c5a4-47d1-a30c-83f453dd84c5', - '6f65ca22-3cc1-4d41-9c69-7788ece76a7e', - 'ec37e330-a4c2-4fd2-8de7-11971fe073bc' - ].includes(Store.jwtPayload?.account_id ?? '') + Store.accountInfo.state.result?.allowed_to_purchase ? { name: 'Events', icon: 'calendar_today' as const,