This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a regression introduced by #8075
Fix #9547. See https://github.com/brave/browser-laptop/pull/8075/files#diff-49b40c07650f6f7cedce3f608d031b54L111. The keys of "this.bookmarks" and "noParentItems" were originally integers before After that, they are of the form "https://www.reddit.com/|0|0" (generated by siteUtil.getSitekey(sideDetail)). See https://github.com/brave/browser-laptop/blob/f3efaa104a7d57839f86b0e0211705b00c5399c1/js/state/siteUtil.js#L69-L84. This breaks "noParentItems.getIn([i, attribute])" calls. See https://github.com/brave/browser-laptop/blob/f3efaa104a7d57839f86b0e0211705b00c5399c1/app/renderer/components/bookmarks/bookmarksToolbar.js#L140 and https://github.com/brave/browser-laptop/blob/f3efaa104a7d57839f86b0e0211705b00c5399c1/app/renderer/components/bookmarks/bookmarksToolbar.js#L147.
- Loading branch information