test(users): add test for checking inited users
This commit is contained in:
parent
8c95f85eb1
commit
6b0d0f4337
4 changed files with 71 additions and 5 deletions
|
@ -26,7 +26,7 @@ export class RootFrame extends React.Component<Props, State, {}> {
|
|||
|
||||
render() {
|
||||
let bgStyle = undefined;
|
||||
if (this.props.login.preferences.bg.url !== "") {
|
||||
if (this.props.login.preferences != null && this.props.login.preferences.bg.url !== "") {
|
||||
bgStyle = {
|
||||
background: `url("${this.props.login.preferences.bg.url}") ${this.props.login.preferences.bg.repeat} ${this.props.login.preferences.bg.position} ${this.props.login.preferences.bg.align}`,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue