This is an automated email from the ASF dual-hosted git repository.
riemer 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 31cd40d [hotfix] Change widgetType reference in data explorer widget
31cd40d is described below
commit 31cd40d4648a5182c3d6cd5acba9d9c321062cd1
Author: Dominik Riemer <[email protected]>
AuthorDate: Wed May 26 09:56:02 2021 +0200
[hotfix] Change widgetType reference in data explorer widget
---
.../widget/data-explorer-dashboard-widget.component.html | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/ui/src/app/data-explorer/components/widget/data-explorer-dashboard-widget.component.html
b/ui/src/app/data-explorer/components/widget/data-explorer-dashboard-widget.component.html
index f0df458..7ed4c8a 100644
---
a/ui/src/app/data-explorer/components/widget/data-explorer-dashboard-widget.component.html
+++
b/ui/src/app/data-explorer/components/widget/data-explorer-dashboard-widget.component.html
@@ -34,7 +34,7 @@
</div>
<div class="h-100 p-0 row content gridster-item-content"
style="margin-left: 0px;margin-right: 0px;">
<div *ngIf="widgetLoaded" class="h-100">
- <div *ngIf="widget.widgetType === 'table'" class="h-100 p-0">
+ <div *ngIf="configuredWidget.widgetType === 'table'"
class="h-100 p-0">
<sp-data-explorer-table-widget
(removeWidgetCallback)="removeWidget()"
[viewDateRange]="viewDateRange"
@@ -44,7 +44,7 @@
[dataViewDashboardItem]="widget"
[dataExplorerWidget]="configuredWidget"
class="h-100"></sp-data-explorer-table-widget>
</div>
- <div *ngIf="widget.widgetType === 'line-chart'" class="h-100
p-0">
+ <div *ngIf="configuredWidget.widgetType === 'line-chart'"
class="h-100 p-0">
<sp-data-explorer-line-chart-widget
(removeWidgetCallback)="removeWidget()"
[viewDateRange]="viewDateRange"
@@ -54,7 +54,7 @@
[dataViewDashboardItem]="widget"
[dataExplorerWidget]="configuredWidget"
class="h-100"></sp-data-explorer-line-chart-widget>
</div>
- <div *ngIf="widget.widgetType === 'image'" class="h-100 p-0">
+ <div *ngIf="configuredWidget.widgetType === 'image'"
class="h-100 p-0">
<sp-data-explorer-image-widget
(removeWidgetCallback)="removeWidget()"
[viewDateRange]="viewDateRange"
@@ -68,4 +68,4 @@
</div>
</div>
</div>
-</div>
\ No newline at end of file
+</div>