Fix for siteSettings is null

siteSettings can be null, with this change we can avoid an exception.
This commit is contained in:
Timendum
2018-01-30 10:51:38 +01:00
committed by GitHub
parent f17ff7168f
commit a16cae0342
+1 -1
View File
@@ -132,7 +132,7 @@ const assignManager = {
// The container we have in the assignment map isn't present any more so lets remove it
// then continue the existing load
if (!container) {
if (siteSettings && !container) {
this.deleteContainer(siteSettings.userContextId);
return {};
}