Closed tiagojsag closed 7 years ago
The idea is that it removes only the nodes selected for the current column. So let's say: 1- you select a municipality and an exporter: http://staging.trase.earth/flows.html?state=eyJzZWxlY3RlZENvbnRleHRJZCI6MSwic2VsZWN0ZWRZZWFycyI6WzIwMTUsMjAxNV0sImRldGFpbGVkVmlldyI6ZmFsc2UsInNlbGVjdGVkTm9kZXNJZHMiOls0NDAsMjc1OV0sImV4cGFuZGVkTm9kZXNJZHMiOltdLCJhcmVOb2Rlc0V4cGFuZGVkIjpmYWxzZSwic2VsZWN0ZWRDb2x1bW5zSWRzIjpbMyw2LDcsOF0sImlzTWFwVmlzaWJsZSI6ZmFsc2UsIm1hcFZpZXciOnsibGF0aXR1ZGUiOi0xMi42OTM5MzI5MzU4NTE0MjEsImxvbmdpdHVkZSI6LTU1LjU5OTA2MDA1ODU5Mzc2LCJ6b29tIjo4fSwiZXhwYW5kZWRNYXBTaWRlYmFyR3JvdXBzSWRzIjpbXSwic2VsZWN0ZWRSZXNpemVCeU5hbWUiOiJWb2x1bWUiLCJzZWxlY3RlZFJlY29sb3JCeU5hbWUiOiJub25lIn0= 2- you switch the first column to biome. you don't want to clear all the selections. Instead, you want to keep the exporter, but clear the municipality selection: http://staging.trase.earth/flows.html?state=eyJzZWxlY3RlZENvbnRleHRJZCI6MSwic2VsZWN0ZWRZZWFycyI6WzIwMTUsMjAxNV0sImRldGFpbGVkVmlldyI6ZmFsc2UsInNlbGVjdGVkTm9kZXNJZHMiOls0NDBdLCJleHBhbmRlZE5vZGVzSWRzIjpbXSwiYXJlTm9kZXNFeHBhbmRlZCI6ZmFsc2UsInNlbGVjdGVkQ29sdW1uc0lkcyI6WzEsNiw3LDhdLCJpc01hcFZpc2libGUiOmZhbHNlLCJtYXBWaWV3Ijp7ImxhdGl0dWRlIjotMTUuMTE0NTUyODcxOTQ0MTAyLCJsb25naXR1ZGUiOi01NC40MDQyOTY4NzUwMDAwMSwiem9vbSI6M30sImV4cGFuZGVkTWFwU2lkZWJhckdyb3Vwc0lkcyI6W10sInNlbGVjdGVkUmVzaXplQnlOYW1lIjoiVm9sdW1lIiwic2VsZWN0ZWRSZWNvbG9yQnlOYW1lIjoibm9uZSJ9
Ok, I see 👍
It doesn't seem to work for me. Somehow emptying the node selection fails: here selectedNodesIds should be an empty array but it retains the node selection and I don't understand why :/