Skip to content

Commit

Permalink
put merchant tab behind flag (#1053)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrine-ds authored Dec 13, 2024
1 parent 07fee60 commit f1728b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion clients/banking/src/components/AccountArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,10 @@ export const AccountArea = ({
icon: "building-shop-regular",
name: t("navigation.merchant"),
to: Router.AccountMerchantsRoot({ accountMembershipId }),
visible: account?.holder.info.type === "Company" && permissions.canReadMerchantProfile,
visible:
account?.holder.info.type === "Company" &&
permissions.canReadMerchantProfile &&
isMerchantFlagActive,
},
];

Expand Down

0 comments on commit f1728b5

Please sign in to comment.