tab title depends on mediacenter name
This commit is contained in:
parent
15ede7821e
commit
d3c3ee3044
@ -36,7 +36,8 @@ class App extends React.Component {
|
|||||||
passwordsupport: result.passwordEnabled,
|
passwordsupport: result.passwordEnabled,
|
||||||
mediacentername: result.mediacenter_name
|
mediacentername: result.mediacenter_name
|
||||||
});
|
});
|
||||||
console.log(this.state);
|
// set tab title to received mediacenter name
|
||||||
|
document.title = result.mediacenter_name;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user