Try to fix tests

pull/21833/head
Luke Barnard 2017-04-28 13:38:35 +01:00
parent d12b1903f2
commit 5a5768a4ec
1 changed files with 1 additions and 1 deletions

View File

@ -771,7 +771,7 @@ module.exports = React.createClass({
var mxIdPromise = q();
// If the user is a ROU, allow them to transition to a PWLU
if (cli.isGuest()) {
if (cli && cli.isGuest()) {
const SetMxIdDialog = sdk.getComponent('views.dialogs.SetMxIdDialog');
const defered = q.defer();
mxIdPromise = defered.promise;