Don't show "Reload" for container nodes
This commit is contained in:
@@ -248,8 +248,11 @@ namespace Umbraco.Web.Trees
|
||||
OpensDialog = true
|
||||
});
|
||||
}
|
||||
|
||||
menu.Items.Add(new RefreshNode(Services.TextService, true));
|
||||
|
||||
if((item is DocumentEntitySlim documentEntity && documentEntity.IsContainer) == false)
|
||||
{
|
||||
menu.Items.Add(new RefreshNode(Services.TextService, true));
|
||||
}
|
||||
|
||||
return menu;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user