Paypal tab is now only displayed to admin or devs
This commit is contained in:
@@ -1151,7 +1151,7 @@ export default function PaymentRecord() {
|
||||
>
|
||||
Payments
|
||||
</Tab>
|
||||
<Tab
|
||||
{['admin','developer'].includes(user.type) && (<Tab
|
||||
className={({ selected }) =>
|
||||
clsx(
|
||||
"w-full rounded-lg py-2.5 text-sm font-medium leading-5 text-mti-purple-light",
|
||||
@@ -1165,6 +1165,7 @@ export default function PaymentRecord() {
|
||||
>
|
||||
Paypal
|
||||
</Tab>
|
||||
)}
|
||||
</Tab.List>
|
||||
<Tab.Panels>
|
||||
<Tab.Panel className="overflow-y-scroll max-h-[600px] rounded-xl scrollbar-hide gap-8 flex flex-col gap-8">
|
||||
|
||||
Reference in New Issue
Block a user