Skip to content

Commit

Permalink
Update results item model
Browse files Browse the repository at this point in the history
  • Loading branch information
kreafox committed Nov 9, 2022
1 parent 42e68f0 commit 1611a24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions searchlib/components/AnswerBox/AnswerContext.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const AnswerContext = ({ item, answerItem }) => {
const itemModel = {
// hasImage: result.hasImage,
hasDescription: true,
imageOnRightSide: true,
'@type': 'searchItem',
};

Expand Down
1 change: 1 addition & 0 deletions searchlib/components/Result/HorizontalCardItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const HorizontalCardItem = (props) => {
const itemModel = {
hasImage: result.hasImage,
hasDescription: true,
imageOnRightSide: true,
'@type': 'searchItem',
};

Expand Down
4 changes: 1 addition & 3 deletions searchlib/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,7 @@ const config = {
component: (props) => <Menu vertical {...props} />,
},
'HorizontalCard.Group': {
component: (props) => (
<Card.Group {...props} stackable itemsPerRow={1} doubling />
),
component: (props) => <div {...props} className="listing" />,
},
ListingViewItem: {
component: ListingViewItem,
Expand Down

0 comments on commit 1611a24

Please sign in to comment.