From 1f4865e915c8048aa24cc1ddd14d82e850d63ee4 Mon Sep 17 00:00:00 2001 From: Florent POITTEVIN <poittevin.florent@gmail.com> Date: Thu, 4 Jun 2020 18:00:26 +0200 Subject: [PATCH] fix: typing error --- .../job-execution-detail/job-execution-detail.routable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/features/preservation/job/components/routables/job-execution-detail/job-execution-detail.routable.ts b/src/app/features/preservation/job/components/routables/job-execution-detail/job-execution-detail.routable.ts index fcdb123ad..fa5fcceba 100644 --- a/src/app/features/preservation/job/components/routables/job-execution-detail/job-execution-detail.routable.ts +++ b/src/app/features/preservation/job/components/routables/job-execution-detail/job-execution-detail.routable.ts @@ -144,7 +144,7 @@ export class JobExecutionDetailRoutable extends SharedAbstractRoutable implement icon: IconNameEnum.resume, labelToTranslate: MARK_AS_TRANSLATABLE("preservation.jobExecution.button.resume"), callback: () => this.resume(), - displayCondition: () => !isNullOrUndefined(MemoizedUtil.currentSnapshot(this._store, PreservationJobExecutionState)) && MemoizedUtil.currentSnapshot(this._store, PreservationJobExecutionState).status === JobStatusEnum.IN_ERROR, + displayCondition: () => !isNullOrUndefined(CompositionState.currentSnapshot(this._store, PreservationJobExecutionState)) && CompositionState.currentSnapshot(this._store, PreservationJobExecutionState).status === JobStatusEnum.IN_ERROR, order: 40, }, { -- GitLab