mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
committed by
Rainer Killinger
parent
f60a228392
commit
cbb949e397
@@ -13,14 +13,19 @@ export class FeeItemComponent {
|
||||
|
||||
book?: SCBook | SCPeriodical | SCArticle;
|
||||
|
||||
hasEdition = false;
|
||||
|
||||
@Input()
|
||||
set fee(fee: PAIAFee) {
|
||||
this.hasEdition = !fee.edition?.includes('null');
|
||||
this._fee = fee;
|
||||
this.libraryAccountService
|
||||
.getDocumentFromHDS(fee.edition as string)
|
||||
.then(book => {
|
||||
this.book = book;
|
||||
});
|
||||
if (this.hasEdition) {
|
||||
this.libraryAccountService
|
||||
.getDocumentFromHDS(fee.edition as string)
|
||||
.then(book => {
|
||||
this.book = book;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
get fee() {
|
||||
|
||||
Reference in New Issue
Block a user