PLT_4948 fixing create team javascript error (#4809)

Этот коммит содержится в:
Corey Hulen
2016-12-16 05:01:51 -08:00
коммит произвёл Joram Wilander
родитель 2e5ae55e69
Коммит 25c5111f3f
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@@ -38,7 +38,7 @@ class WebClientClass extends Client {
}
handleError(err, res) {
if (res.body.id === 'api.context.mfa_required.app_error') {
if (res && res.body && res.body.id === 'api.context.mfa_required.app_error') {
window.location.reload();
return;
}