mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 23:28:14 +00:00
[Navigation Tree] Whole tree item clickable (#3638)
* passing click and context click on tree item down to object label, making the whole tree item interactive * removed unnecessary code * WIP: removing propagation prop from view control and just stopping all propagation * capturing click on tree item and then calling the click handler on objectLabel, this prevents multiple events and handles all clicks in the tree-item * removing unnecessary ref * ignoring clicks for view control so it can handle them itself * made view control class a constant * replaced class-based checks with ref-based checks * removing old leftover code
This commit is contained in:
@ -31,7 +31,6 @@
|
||||
v-model="expanded"
|
||||
class="c-tree__item__view-control"
|
||||
:enabled="hasChildren"
|
||||
:propagate="false"
|
||||
/>
|
||||
<div class="c-tree__item__label c-object-label">
|
||||
<div
|
||||
|
Reference in New Issue
Block a user