Skip to content

Commit 67f3bd1

Browse files
committed
quick tweak
1 parent 6d194d9 commit 67f3bd1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/client/src/clients/guide/client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ const select = (state: StoreState, filters: SelectFilterParams = {}) => {
164164
const guide = state.previewGuides[guideKey] || state.guides[guideKey];
165165
if (!guide) continue;
166166

167+
// XXX: Move this up to the correct branch
168+
const ineligible = !!state.ineligibleGuides[guide.key];
169+
if (ineligible) continue;
170+
167171
const affirmed = predicate(guide, {
168172
location,
169173
filters,

0 commit comments

Comments
 (0)