Skip to content

Commit

Permalink
Show Events tab for everyone who's allowed to purchase tickets
Browse files Browse the repository at this point in the history
  • Loading branch information
brundonsmith committed Jan 20, 2024
1 parent 1915e1b commit 623103e
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions front-end/src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 623103e

Please sign in to comment.