Only switch to container if not null
This commit is contained in:
parent
ab161a949e
commit
1787c377eb
2 changed files with 6 additions and 4 deletions
|
|
@ -285,9 +285,11 @@ if (hasID
|
|||
if (containerLink != null)
|
||||
{
|
||||
var container = await containerLink.GetContainer(null);
|
||||
container.Parent = ActiveContainer;
|
||||
|
||||
LoadContainer(container);
|
||||
if (container != null)
|
||||
{
|
||||
container.Parent = ActiveContainer;
|
||||
LoadContainer(container);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue