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 fcdb123ad25a25b7c971241df64f654cecfee3d3..fa5fccebafd1b57d12c0fa0e7007bdb6fc3c7367 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, }, {