Fix for siteSettings is null
siteSettings can be null, with this change we can avoid an exception.
This commit is contained in:
@@ -132,7 +132,7 @@ const assignManager = {
|
|||||||
|
|
||||||
// The container we have in the assignment map isn't present any more so lets remove it
|
// The container we have in the assignment map isn't present any more so lets remove it
|
||||||
// then continue the existing load
|
// then continue the existing load
|
||||||
if (!container) {
|
if (siteSettings && !container) {
|
||||||
this.deleteContainer(siteSettings.userContextId);
|
this.deleteContainer(siteSettings.userContextId);
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user