mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
visgraph: refactor store excludedNode action
This commit is contained in:
@@ -289,12 +289,12 @@ export default {
|
||||
addLayer(id) {
|
||||
//console.log('+ addLayer', id)
|
||||
this.checkedLayers.push(id)
|
||||
this.$store.dispatch('removeExcludedNode', id)
|
||||
this.$store.dispatch('excludedNode', ['remove', id])
|
||||
},
|
||||
removeLayer(id) {
|
||||
//console.log('- removeLayer', id)
|
||||
this.checkedLayers = this.checkedLayers.filter(i => i !== id)
|
||||
this.$store.dispatch('addExcludedNode', id)
|
||||
this.$store.dispatch('excludedNode', ['add', id])
|
||||
},
|
||||
|
||||
addRelationshipModal(edgeData) {
|
||||
|
Reference in New Issue
Block a user