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 aed27aa976
commit 4cbfa3a176

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 {};
}