Skip to content

Commit d97c5fd

Browse files
committed
test(mwpw-184989): seed line-clamp truncation and or-filter zero-results
1 parent ca452d8 commit d97c5fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

less/components/consonant/cards/card.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
-webkit-box-orient: vertical;
2929
margin: 0 0 7px;
3030

31-
.line-clamp(2);
31+
.line-clamp(1);
3232

3333
.font(1.125rem, 1.375rem, 700, @consonantGray900);
3434

react/src/js/components/Consonant/Helpers/Helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export const getFilteredCards = (cards, activeFilters, activePanels, filterType,
291291
return true;
292292
}
293293
// you proceed to check the other tags in the cards after the time filter checks
294-
const tagIds = new Set(card.tags.map(tag => tag.id));
294+
const tagIds = new Set(card.tags.map(tag => tag.name));
295295

296296
if (usingXorAndFilter) {
297297
// When filterGroups are provided (from category expansion), check that

0 commit comments

Comments
 (0)