Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
New improvments
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Apr 28, 2017
1 parent 5753503 commit ecde624
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/renderer/components/tabs/pinnedTabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class PinnedTabs extends React.Component {
props.pinnedTabs = tabs
.filter((tab) => tab.get('pinnedLocation'))
.map((tab) => tab.get('frameKey'))
.toJS()

return Object.assign({}, ownProps, props)
}
Expand Down
1 change: 1 addition & 0 deletions app/renderer/components/tabs/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ class Tabs extends React.Component {
const currentTabs = unpinnedTabs
.slice(startingFrameIndex, startingFrameIndex + tabsPerTabPage)
.map((tab) => tab.get('frameKey'))
.toJS()
const totalPages = Math.ceil(unpinnedTabs.size / tabsPerTabPage)

const props = {}
Expand Down

0 comments on commit ecde624

Please sign in to comment.