You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2021/10/23 08:52:21 UTC
[incubator-streampipes] branch dev updated: [hotfix] Fix build
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new a0cfe4e [hotfix] Fix build
a0cfe4e is described below
commit a0cfe4e545c724c0afc28c43bcdfbb2664881e25
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Sat Oct 23 10:51:59 2021 +0200
[hotfix] Fix build
---
.../data-explorer/components/widgets/map/map-widget.component.ts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ui/src/app/data-explorer/components/widgets/map/map-widget.component.ts b/ui/src/app/data-explorer/components/widgets/map/map-widget.component.ts
index be3d22b..a5791c3 100644
--- a/ui/src/app/data-explorer/components/widgets/map/map-widget.component.ts
+++ b/ui/src/app/data-explorer/components/widgets/map/map-widget.component.ts
@@ -128,9 +128,9 @@ export class MapWidgetComponent extends BaseDataExplorerWidget<MapWidgetModel> i
this.setShownComponents(false, false, true);
}
- onDataReceived(spQueryResult: SpQueryResult) {
- this.lastDataResults = spQueryResult;
- this.makeLayers(spQueryResult);
+ onDataReceived(spQueryResult: SpQueryResult[]) {
+ this.lastDataResults = spQueryResult[0];
+ this.makeLayers(spQueryResult[0]);
}
transform(rows, index: number): any[] {
@@ -159,7 +159,7 @@ export class MapWidgetComponent extends BaseDataExplorerWidget<MapWidgetModel> i
if (spQueryResult.total > 0) {
const result = spQueryResult.allDataSeries[0];
- for (var i = 0; i <= spQueryResult.allDataSeries.length-1; i++) {
+ for (var i = 0; i <= spQueryResult.allDataSeries.length - 1; i++) {
const result = spQueryResult.allDataSeries[i];