Skip to content

Commit

Permalink
Chore: Changing modal type check to an array
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandernsilva committed Mar 3, 2023
1 parent d9287b0 commit 734dbcd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -23,7 +23,7 @@ const EnterpriseDepartmentsModal = ({ closeModal }: { closeModal: () => void }):
closeModal();
};

const isTypeUpgradeYourPlan = tabType === 'go-fully-featured' || tabType === 'go-fully-featured-registered';
const isTypeUpgradeYourPlan = ['go-fully-featured', 'go-fully-featured-registered'].includes(tabType || '');

const talkToExpertLink =
'https://www.rocket.chat/sales-contact?utm_source=rocketchat_app&utm_medium=multiple_queues&utm_campaign=in_product_ctas';
Expand Down

0 comments on commit 734dbcd

Please sign in to comment.