Skip to content

Commit

Permalink
Fixed: Close tabs above closes pinned tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
mbnuqw committed May 24, 2021
1 parent 10e2465 commit 981991b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sidebar/actions/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ function removeTabsAbove(tabIds) {
let toRm = []
for (let i = startTab.index; i--; ) {
let tab = this.state.tabs[i]
if (!tab || tab.panelId !== startTab.panelId) break
if (!tab || tab.pinned || tab.panelId !== startTab.panelId) break
toRm.push(tab.id)
}

Expand Down

0 comments on commit 981991b

Please sign in to comment.