Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts: # src/Umbraco.Infrastructure/Models/Mapping/ContentTypeMapDefinition.cs # src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
This commit is contained in:
@@ -337,8 +337,10 @@ namespace Umbraco.Web.Trees
|
||||
|
||||
var nodes = GetTreeNodesInternal(id, queryStrings);
|
||||
|
||||
//only render the recycle bin if we are not in dialog and the start id id still the root
|
||||
if (IsDialog(queryStrings) == false && id == Constants.System.RootString)
|
||||
//only render the recycle bin if we are not in dialog and the start id is still the root
|
||||
//we need to check for the "application" key in the queryString because its value is required here,
|
||||
//and for some reason when there are no dashboards, this parameter is missing
|
||||
if (IsDialog(queryStrings) == false && id == Constants.System.RootString && queryStrings.HasKey("application"))
|
||||
{
|
||||
nodes.Add(CreateTreeNode(
|
||||
RecycleBinId.ToInvariantString(),
|
||||
|
||||
Reference in New Issue
Block a user