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

Commit

Permalink
Fixes tab title on tab update
Browse files Browse the repository at this point in the history
Resolves #8908

Auditors: @bsclifton @bridiver

Test Plan:
- go to site clifton.io
- create a history
- click on back/forward buttons
- check that title is always correct
  • Loading branch information
NejcZdovc authored and bsclifton committed May 22, 2017
1 parent f14d0d4 commit b3fc514
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/renderer/reducers/frameReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ const frameReducer = (state, action, immutableAction) => {
}
}

const title = immutableAction.getIn(['changeInfo', 'title'])
// TODO fix race condition in Muon more info in #9000
const title = immutableAction.getIn(['tabValue', 'title'])
if (title != null) {
state = state.setIn(['frames', index, 'title'], title)
}
Expand Down

0 comments on commit b3fc514

Please # to comment.