From 591f054e74a457d2ae89fd72068a1415af5454a0 Mon Sep 17 00:00:00 2001 From: NejcZdovc Date: Sun, 21 May 2017 22:20:40 +0200 Subject: [PATCH] Fixes tab title on tab update 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 --- app/renderer/reducers/frameReducer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/renderer/reducers/frameReducer.js b/app/renderer/reducers/frameReducer.js index 71d5e67b048..79cc138ab54 100644 --- a/app/renderer/reducers/frameReducer.js +++ b/app/renderer/reducers/frameReducer.js @@ -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) }