Comments: Fix page title not updating when clicking back (#2877)
This commit is contained in:
parent
ceef2fb4db
commit
7845ed4e1e
@ -83,6 +83,7 @@ addActionHandler('openChatInNewTab', (global, actions, payload): ActionReturnTyp
|
|||||||
|
|
||||||
addActionHandler('openPreviousChat', (global, actions, payload): ActionReturnType => {
|
addActionHandler('openPreviousChat', (global, actions, payload): ActionReturnType => {
|
||||||
const { tabId = getCurrentTabId() } = payload || {};
|
const { tabId = getCurrentTabId() } = payload || {};
|
||||||
|
actions.updatePageTitle({ tabId });
|
||||||
return updateCurrentMessageList(global, undefined, undefined, undefined, undefined, undefined, tabId);
|
return updateCurrentMessageList(global, undefined, undefined, undefined, undefined, undefined, tabId);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user