From 7845ed4e1eb23b0ff14d024a84e0e0d92726fb33 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Thu, 30 Mar 2023 18:25:37 -0500 Subject: [PATCH] Comments: Fix page title not updating when clicking back (#2877) --- src/global/actions/ui/chats.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/global/actions/ui/chats.ts b/src/global/actions/ui/chats.ts index 65d593d8c..d5782cd7f 100644 --- a/src/global/actions/ui/chats.ts +++ b/src/global/actions/ui/chats.ts @@ -83,6 +83,7 @@ addActionHandler('openChatInNewTab', (global, actions, payload): ActionReturnTyp addActionHandler('openPreviousChat', (global, actions, payload): ActionReturnType => { const { tabId = getCurrentTabId() } = payload || {}; + actions.updatePageTitle({ tabId }); return updateCurrentMessageList(global, undefined, undefined, undefined, undefined, undefined, tabId); });