Skip to content

Commit

Permalink
[Bug] Geojson layer is not updated when dataset updated (#1533)
Browse files Browse the repository at this point in the history
Signed-off-by: Vladi Bilonenko <bilonenko.v@gmail.com>
  • Loading branch information
delfrrr committed Jul 18, 2021
1 parent 29cf082 commit 16fab11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/layers/base-layer.js
Expand Up @@ -848,12 +848,12 @@ class Layer {
this.meta = {...this.meta, ...meta};
}

getDataUpdateTriggers({filteredIndex, id}) {
getDataUpdateTriggers({filteredIndex, id, allData}) {
const {columns} = this.config;

return {
getData: {datasetId: id, columns, filteredIndex},
getMeta: {datasetId: id, columns},
getData: {datasetId: id, allData, columns, filteredIndex},
getMeta: {datasetId: id, allData, columns},
...(this.config.textLabel || []).reduce(
(accu, tl, i) => ({
...accu,
Expand Down

0 comments on commit 16fab11

Please sign in to comment.