Skip to content

Similar items#24

Closed
Spazcool wants to merge 3 commits intomasterfrom
similarItems
Closed

Similar items#24
Spazcool wants to merge 3 commits intomasterfrom
similarItems

Conversation

@Spazcool
Copy link
Copy Markdown

Styling of similar items div on single item page.

Copy link
Copy Markdown
Contributor

@mpsido mpsido left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please choose a title with a better description of what you are doing or make a more verbose description in the pull request comments

"check": "npm ls > /dev/null"
},
"pre-commit": [
/*"pre-commit": [
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, don't do that

recentScans.assigned.push([matches[0].fixture, req.params.uuid]);
// console.log(recentScans);
matches.similarItems = searchDatabase({ fixture: matches[0].fixture }, allItems)
matches[0].similarItems = searchDatabase({ fixture: matches[0].fixture }, allItems)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to check matches is not empty to avoid crash

@Spazcool Spazcool closed this Dec 21, 2017
@Spazcool Spazcool deleted the similarItems branch December 21, 2017 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants