Skip to content

Commit

Permalink
Fix issue with moment hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Oct 30, 2023
1 parent aa57ed6 commit c9028ba
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ 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) {
this.auth.getUser().pipe(filter((x) => x && !!x.profile), first()).subscribe((user) => {
this.userId = user.profile.id;
});
this.refresh();
this._moment = moment;
}

refresh() {
Expand Down

0 comments on commit c9028ba

Please sign in to comment.