Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 7ad83f26 authored by Sebastian-Ion TINCU's avatar Sebastian-Ion TINCU
Browse files

Pull request #124: EDELIVERY-11590 SMP UI Improvements Breadcrumb

Merge in EDELIVERY/smp from bugfix/EDELIVERY-11590-smp-ui-improvements-breadcrumb to development

* commit '865f97c6':
  EDELIVERY-11590 SMP UI Improvements Breadcrumb
parents 23cd5bbb 865f97c6
No related branches found
No related tags found
No related merge requests found
Pipeline #204881 failed
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
padding: 0 .4em; padding: 0 .4em;
} }
.smp-breadcrumb-item.smp-disabled * {
background-color: gray !important;
}
.smp-breadcrumb-content { .smp-breadcrumb-content {
z-index: 1; z-index: 1;
// user parent // user parent
......
...@@ -146,7 +146,8 @@ export class NavigationService extends MatTreeNestedDataSource<NavigationNode> { ...@@ -146,7 +146,8 @@ export class NavigationService extends MatTreeNestedDataSource<NavigationNode> {
// mark the parent of the first leaf in a menu as non-clickable // mark the parent of the first leaf in a menu as non-clickable
let parent = this.findParent(selectedPath[leafIndex]); let parent = this.findParent(selectedPath[leafIndex]);
if (parent && parent.children && parent.children[0] == selectedPath[leafIndex]) { let grandParent = this.findParent(parent);
if (parent && parent.children && parent.children[0] == selectedPath[leafIndex] && grandParent == this.rootNode) {
parent.clickable = false; parent.clickable = false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment