Skip to content

Commit

Permalink
* temporary fix for dataProperties filtering when axis contains children
Browse files Browse the repository at this point in the history
  • Loading branch information
agnybida committed Sep 13, 2023
1 parent 61fb039 commit 2d0c6c4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deep-see-web",
"version": "3.2.13",
"version": "3.2.14",
"scripts": {
"ng": "ng",
"start": "ng serve --proxy-config=proxy.conf.json --port 4007",
Expand Down
7 changes: 6 additions & 1 deletion src/app/components/widgets/base-widget.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,12 @@ export abstract class BaseWidget implements OnInit, OnDestroy {
if (!this.widget.dataProperties) {
return;
}
return this.widget.dataProperties.find(pr => pr.dataValue === dataValue);
const dv = dataValue.split('/');
return this.widget.dataProperties.find(pr => {
const p = pr.dataValue?.toString().split('/');
return dv.some(d => p.includes(d));
// pr.dataValue === dataValue;
});
}

getDataPropValue(name: string): string | undefined {
Expand Down
3 changes: 3 additions & 0 deletions src/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 3.2.14
* temporary fix for dataProperties filtering when axis contains children

#### 3.2.13
* temporary fix for dataProperties filtering when axis contains children

Expand Down

0 comments on commit 2d0c6c4

Please sign in to comment.