Skip to content

Commit

Permalink
Merge pull request #188 from wearefuturegov/feature/fix-family-hubs
Browse files Browse the repository at this point in the history
fix for always showing family hub
  • Loading branch information
apricot13 authored Dec 11, 2024
2 parents 8fdcb3f + 2d6b99c commit 5ef0e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/themes/bfis/vars_bfis.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const vars_bfis = {
return <>{isFamilyHub && <FamilyHubsNetworkTag />}</>
},
DetailDialogExtra: ({ service }) => {
if (service.meta?.some(m => m.key === "family-hub")) {
if (service.meta?.some(m => m.key === "family-hub" && m.value === "Yes")) {
return <FamilyHubsNetworkDetailDialog />
} else {
return null
Expand Down

0 comments on commit 5ef0e56

Please sign in to comment.