Update programmatic title and set post-build Python version to v3

This commit is contained in:
Artur Lozovski 2023-12-07 17:34:44 +00:00
parent d5589517ac
commit 90ed2844d5
6 changed files with 8 additions and 6 deletions

View file

@ -11,7 +11,9 @@ const RootWithVersion = () => {
const refreshVersion = () =>
API.getVersion().then(
(version) => {
setTitle(`rqbit web UI - v${version}`);
const title = `rqbit web UI - v${version}`;
setTitle(title);
document.title = title;
return 10000;
},
(e) => {