You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by wi...@apache.org on 2021/01/12 12:12:42 UTC

[incubator-streampipes] 02/02: use last running date of pipelines only when exists

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

wiener pushed a commit to branch edge-extensions
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git

commit b1d3b01f8a63c02f93e35cc49b00690c771847fd
Author: Patrick Wiener <wi...@fzi.de>
AuthorDate: Tue Jan 12 13:12:24 2021 +0100

    use last running date of pipelines only when exists
---
 .../components/pipeline-overview/pipeline-overview.component.html     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ui/src/app/pipelines/components/pipeline-overview/pipeline-overview.component.html b/ui/src/app/pipelines/components/pipeline-overview/pipeline-overview.component.html
index 03a442b..feae09f 100644
--- a/ui/src/app/pipelines/components/pipeline-overview/pipeline-overview.component.html
+++ b/ui/src/app/pipelines/components/pipeline-overview/pipeline-overview.component.html
@@ -49,10 +49,10 @@
             </td>
         </ng-container>
 
-        <ng-container matColumnDef="startedAt">
+        <ng-container matColumnDef="lastStartedAt">
             <th mat-header-cell *matHeaderCellDef> Started</th>
             <td mat-cell *matCellDef="let pipeline">
-                <h5>{{pipeline.startedAt | date:'dd.MM.yyyy HH:mm'}}</h5>
+                <h5>{{pipeline.startedAt ? (pipeline.startedAt | date:'dd.MM.yyyy HH:mm') : "n/a"}}</h5>
             </td>
         </ng-container>