Fix NPE on expand/collapse

master
Rohan Vazarkar 2018-08-22 12:46:12 -05:00
parent 156bd590c7
commit f9b7761f86
1 changed files with 3 additions and 3 deletions

View File

@ -77,15 +77,15 @@
<i class="fa fa-trash"> </i> Delete Node
</li>
{{#expand}}
<li onclick="emitter.emit('unfoldNode', {{id}}); appStore.currentTooltip.close()">
<li onclick="emitter.emit('unfoldNode', {{id}});">
<i class="fa fa-object-ungroup"> </i> Expand
</li>
{{/expand}} {{#collapse}}
<li onclick="emitter.emit('collapseNode', {{id}}); appStore.currentTooltip.close()">
<li onclick="emitter.emit('collapseNode', {{id}});">
<i class="fa fa-object-group"> </i> Collapse
</li>
{{/collapse}} {{#groupedNode}}
<li onclick="emitter.emit('ungroupNode', {{id}}); appStore.currentTooltip.close()">
<li onclick="emitter.emit('ungroupNode', {{id}});">
<i class="fa fa-object-ungroup"> </i> Expand
</li>
{{/groupedNode}}