Merge pull request #1933 from TexasDigitalLibrary/DSpace-8298

DS-8298: fixes issue where the lastHarvested and message fields were reversed
This commit is contained in:
Tim Donohue
2022-10-31 14:14:22 -05:00
committed by GitHub

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"