Skip to content

Commit

Permalink
put merchant tab behind flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrine-ds committed Dec 12, 2024
1 parent f37f2c3 commit 314c19f
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 314c19f

Please sign in to comment.