You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/07/26 07:28:15 UTC

[incubator-streampipes] branch STREAMPIPES-545 updated: [STREAMPIPES-545] Fix query hint selection

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch STREAMPIPES-545
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/STREAMPIPES-545 by this push:
     new d95dcedae [STREAMPIPES-545] Fix query hint selection
d95dcedae is described below

commit d95dcedaeb47443ec5dadcb23a44a421b3d61c16
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Tue Jul 26 09:28:05 2022 +0200

    [STREAMPIPES-545] Fix query hint selection
---
 .../dialog/edit-asset-link/edit-asset-link-dialog.component.html  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ui/src/app/assets/dialog/edit-asset-link/edit-asset-link-dialog.component.html b/ui/src/app/assets/dialog/edit-asset-link/edit-asset-link-dialog.component.html
index 715a130c4..8e1c77df1 100644
--- a/ui/src/app/assets/dialog/edit-asset-link/edit-asset-link-dialog.component.html
+++ b/ui/src/app/assets/dialog/edit-asset-link/edit-asset-link-dialog.component.html
@@ -30,7 +30,7 @@
                     </mat-select>
                 </mat-form-field>
             </div>
-            <div *ngIf="selectedLinkType.linkType === 'pipeline'" fxLayout="column" class="link-configuration">
+            <div *ngIf="selectedLinkType.linkQueryHint === 'pipeline'" fxLayout="column" class="link-configuration">
                 <mat-form-field color="accent" fxFlex="100">
                     <mat-label>Pipelines</mat-label>
                     <mat-select [(ngModel)]="currentResource"
@@ -41,7 +41,7 @@
                     </mat-select>
                 </mat-form-field>
             </div>
-            <div *ngIf="selectedLinkType.linkType === 'dashboard'" fxLayout="column" class="link-configuration">
+            <div *ngIf="selectedLinkType.linkQueryHint === 'dashboard'" fxLayout="column" class="link-configuration">
                 <mat-form-field color="accent" fxFlex="100">
                     <mat-label>Dashboards</mat-label>
                     <mat-select (selectionChange)="changeLabel($event.value._id, $event.value.name, $event.value)"
@@ -53,7 +53,7 @@
                     </mat-select>
                 </mat-form-field>
             </div>
-            <div *ngIf="selectedLinkType.linkType === 'data-view'" fxLayout="column" class="link-configuration">
+            <div *ngIf="selectedLinkType.linkQueryHint === 'data-view'" fxLayout="column" class="link-configuration">
                 <mat-form-field color="accent" fxFlex="100">
                     <mat-label>Data Views</mat-label>
                     <mat-select (selectionChange)="changeLabel($event.value._id, $event.value.name, $event.value)"
@@ -65,7 +65,7 @@
                     </mat-select>
                 </mat-form-field>
             </div>
-            <div *ngIf="selectedLinkType.linkType === 'measurement'" fxLayout="column" class="link-configuration">
+            <div *ngIf="selectedLinkType.linkQueryHint === 'measurement'" fxLayout="column" class="link-configuration">
                 <mat-form-field color="accent" fxFlex="100">
                     <mat-label>Data Lake Storage</mat-label>
                     <mat-select (selectionChange)="changeLabel($event.value.elementId, $event.value.measureName, $event.value)"