diff --git a/package.json b/package.json index c88706be..d0e05b19 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/app/components/widgets/base-widget.class.ts b/src/app/components/widgets/base-widget.class.ts index 205c27d6..b4b0c167 100644 --- a/src/app/components/widgets/base-widget.class.ts +++ b/src/app/components/widgets/base-widget.class.ts @@ -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 { diff --git a/src/changelog.md b/src/changelog.md index d027bc4b..cc86e041 100644 --- a/src/changelog.md +++ b/src/changelog.md @@ -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