Skip to content

Commit

Permalink
Merge pull request #508 from europeana/feat/MET-3285-Depublications-V…
Browse files Browse the repository at this point in the history
…iewChanged-Bug

Use static decorator configuration for depublication row template
  • Loading branch information
jochen-vermeulen authored Jan 11, 2021
2 parents c54386f + 941560d commit cfbcf7b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import {
export class DepublicationRowComponent {
@Input() record: RecordDepublicationInfoDeletable;
@Output() checkEvents: EventEmitter<DepublicationDeletionInfo> = new EventEmitter();
@ViewChild('depublicationTemplate') depublicationTemplate: TemplateRef<HTMLElement>;
@ViewChild('depublicationTemplate', { static: true }) depublicationTemplate: TemplateRef<
HTMLElement
>;

checkboxDisabled(): boolean {
return this.record.depublicationStatus !== DepublicationStatus.PENDING;
Expand Down

0 comments on commit cfbcf7b

Please sign in to comment.