add some logging to see whether this is source of many renders
This commit is contained in:
parent
2bd27d7ee5
commit
4882e9dac3
1 changed files with 3 additions and 0 deletions
|
@ -101,16 +101,19 @@ const DataModel = {
|
|||
},
|
||||
attachCollectionEvents: function() {
|
||||
DataModel.Topics.on('add remove', function(topic) {
|
||||
console.log('updating infobox and filters due to topic add or remove')
|
||||
InfoBox.updateNumbers()
|
||||
Filter.checkMetacodes()
|
||||
Filter.checkMappers()
|
||||
})
|
||||
DataModel.Synapses.on('add remove', function(synapse) {
|
||||
console.log('updating infobox and filters due to synapse add or remove')
|
||||
InfoBox.updateNumbers()
|
||||
Filter.checkSynapses()
|
||||
Filter.checkMappers()
|
||||
})
|
||||
DataModel.Mappings.on('add remove', function(mapping) {
|
||||
console.log('updating infobox and filters due to mapping add or remove')
|
||||
InfoBox.updateNumbers()
|
||||
Filter.checkSynapses()
|
||||
Filter.checkMetacodes()
|
||||
|
|
Loading…
Add table
Reference in a new issue