From c9028ba63200d3e30d823c0d286ba76159a347bd Mon Sep 17 00:00:00 2001 From: Adam Kariv Date: Mon, 30 Oct 2023 13:00:10 +0200 Subject: [PATCH] Fix issue with moment hopefully --- .../lib/pipelines/pipeline-status/pipeline-status.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/projects/etl-server/src/lib/pipelines/pipeline-status/pipeline-status.component.ts b/ui/projects/etl-server/src/lib/pipelines/pipeline-status/pipeline-status.component.ts index 9a6e30a..a906f32 100644 --- a/ui/projects/etl-server/src/lib/pipelines/pipeline-status/pipeline-status.component.ts +++ b/ui/projects/etl-server/src/lib/pipelines/pipeline-status/pipeline-status.component.ts @@ -16,7 +16,7 @@ export class PipelineStatusComponent implements OnInit, OnDestroy { item: any = {status: {}}; visible = false; userId = null; - _moment: any; + _moment = moment; status = ''; constructor(private route: ActivatedRoute, private api: ApiService, public roles: RolesService, public auth: AuthService) { @@ -24,7 +24,6 @@ export class PipelineStatusComponent implements OnInit, OnDestroy { this.userId = user.profile.id; }); this.refresh(); - this._moment = moment; } refresh() {