fix(core): hide node selection if no selected nodes exist
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -22,6 +22,7 @@ const {
|
||||
nodesSelectionActive,
|
||||
addSelectedElements,
|
||||
getSelectedEdges,
|
||||
getSelectedNodes,
|
||||
removeNodes,
|
||||
removeEdges,
|
||||
selectionMode,
|
||||
@@ -234,6 +235,6 @@ export default {
|
||||
>
|
||||
<slot />
|
||||
<UserSelection v-if="userSelectionActive && userSelectionRect" />
|
||||
<NodesSelection v-if="nodesSelectionActive" />
|
||||
<NodesSelection v-if="nodesSelectionActive && getSelectedNodes.length" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user