From 720c0bac9fcb3cc45be9f755b885ec7318c8899a Mon Sep 17 00:00:00 2001 From: 6ea86b96 <6ea86b96@gmail.com> Date: Mon, 22 May 2017 19:58:17 +0400 Subject: [PATCH] Set page title when changing path --- ui/js/actions/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/js/actions/app.js b/ui/js/actions/app.js index 8ede77fee..82b402fc0 100644 --- a/ui/js/actions/app.js +++ b/ui/js/actions/app.js @@ -43,6 +43,10 @@ export function doChangePath(path) { path, } }) + + const state = getState() + const pageTitle = selectPageTitle(state) + window.document.title = pageTitle } }