Skip to content

Commit

Permalink
forgot that we need windowId for moving tabs between existing windows
Browse files Browse the repository at this point in the history
oops
  • Loading branch information
brumm committed Jan 9, 2018
1 parent 158fb15 commit a984a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/Tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const actions = [
type: [TYPES.NEW_WINDOW],
},
]),
execute: (tabs, { type }) => {
execute: (tabs, { type, id: windowId }) => {
if (type.includes(TYPES.NEW_WINDOW)) {
const [{ id: tabId }, ...secondBatchOfTabIds] = tabs
createWindow({ tabId }).then(({ id }) => {
Expand Down

0 comments on commit a984a5b

Please sign in to comment.