Skip to content

Commit

Permalink
Fixed: Tabs initialization from session data (mbnuqw#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbnuqw committed Apr 23, 2021
1 parent 7ec9327 commit ae8f9ee
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 @@ -155,7 +155,7 @@ async function loadTabsFromSessionStorage() {
let tabsData = await Promise.all(tabs.map(t => browser.sessions.getTabValue(t.id, 'data')))

let activePanel = this.state.panels[this.state.panelIndex] || this.state.panels[1]
let lastPanel = this.state.panels.find(p => p.tabs).id
let lastPanel = this.state.panels.find(p => p.tabs)
let offset = 0
let activeTab
let idsMap = {}
Expand Down

0 comments on commit ae8f9ee

Please sign in to comment.