From 8062bb7e2ab2e2a36fc376059ea5e6cd85b43c3f Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 8 Sep 2023 00:28:00 +0200 Subject: [PATCH] fix reloading unprotected note title to the document.title after entering protected session, fixes #4244 --- src/public/app/components/tab_manager.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/public/app/components/tab_manager.js b/src/public/app/components/tab_manager.js index db9bb9244..feacc23d4 100644 --- a/src/public/app/components/tab_manager.js +++ b/src/public/app/components/tab_manager.js @@ -647,4 +647,12 @@ export default class TabManager extends Component { await this.updateDocumentTitle(activeContext); } } + + async frocaReloadedEvent() { + const activeContext = this.getActiveContext(); + + if (activeContext) { + await this.updateDocumentTitle(activeContext); + } + } }