fixes issue where the lastHarvested and message fields were reversed

This commit is contained in:
nwoodward
2022-10-27 13:28:58 -05:00
parent 0395480ab8
commit 448f6a7eeb

View File

@@ -11,11 +11,11 @@
</div> </div>
<div> <div>
<span class="font-weight-bold">{{'collection.source.controls.harvest.last' | translate}}</span> <span class="font-weight-bold">{{'collection.source.controls.harvest.last' | translate}}</span>
<span>{{contentSource?.message ? contentSource?.message : 'collection.source.controls.harvest.no-information'|translate }}</span> <span>{{contentSource?.lastHarvested ? contentSource?.lastHarvested : 'collection.source.controls.harvest.no-information'|translate }}</span>
</div> </div>
<div> <div>
<span class="font-weight-bold">{{'collection.source.controls.harvest.message' | translate}}</span> <span class="font-weight-bold">{{'collection.source.controls.harvest.message' | translate}}</span>
<span>{{contentSource?.lastHarvested ? contentSource?.lastHarvested : 'collection.source.controls.harvest.no-information'|translate }}</span> <span>{{contentSource?.message ? contentSource?.message: 'collection.source.controls.harvest.no-information'|translate }}</span>
</div> </div>
<button *ngIf="!(testConfigRunning$ |async)" class="btn btn-secondary" <button *ngIf="!(testConfigRunning$ |async)" class="btn btn-secondary"