Merge branch 'v8/dev' into v8/feature/0000-gulp-only-render-sourcemaps-on-dev

This commit is contained in:
Warren Buckley
2019-12-06 09:10:18 +00:00

View File

@@ -90,7 +90,9 @@ angular.module("umbraco.directives")
css.push("umb-tree-item--deleted");
}
if (actionNode) {
// checking the nodeType to ensure that this node and actionNode is from the same treeAlias
if (actionNode && actionNode.nodeType === node.nodeType) {
if (actionNode.id === node.id && String(node.id) !== "-1") {
css.push("active");
}