From d9dfa3069ef38a7a07428fcdcf27445952eeb129 Mon Sep 17 00:00:00 2001 From: Jeff Doyle Date: Mon, 8 Jan 2024 15:43:38 -0800 Subject: [PATCH] Adds a version check before showing filtered features (#165) * Supported suggested features by apps * Update helpers/constants.js Co-authored-by: Jordan Ribbink * Update components/ServiceCard.tsx Co-authored-by: Jordan Ribbink * Remove mobile for now * Cleanup * Add features filtering * bump version * Fix key warning * Revert versions * Generate new snapshots * Adds account-linking feature and removes others (#164) * Hide features unless version features are enabled * Hide features unless version features are enabled --------- Co-authored-by: Chase Fleming <1666730+chasefleming@users.noreply.github.com> Co-authored-by: Chase Fleming Co-authored-by: Jordan Ribbink --- components/ServiceCard.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/components/ServiceCard.tsx b/components/ServiceCard.tsx index 59977694..e4b46202 100644 --- a/components/ServiceCard.tsx +++ b/components/ServiceCard.tsx @@ -131,11 +131,13 @@ export default function ServiceCard({ )} - - {supportedFeatures.map((feature, index) => { - return {feature} - })} - + {isFeaturesSupported && ( + + {supportedFeatures.map((feature, index) => { + return {feature} + })} + + )} {hasWebsite && (