tab title depends on mediacenter name

This commit is contained in:
Lukas Heiligenbrunner 2020-07-26 14:27:56 +02:00
parent 15ede7821e
commit d3c3ee3044

View File

@ -36,7 +36,8 @@ class App extends React.Component {
passwordsupport: result.passwordEnabled,
mediacentername: result.mediacenter_name
});
console.log(this.state);
// set tab title to received mediacenter name
document.title = result.mediacenter_name;
}));
}