forked from hazza/dspace-angular
44024: simple search UI with decorator bug
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
import { Component, Input } from '@angular/core';
|
||||
|
||||
import { Item } from '../../core/shared/item.model';
|
||||
import { ObjectListElementComponent } from '../object-list-element/object-list-element.component';
|
||||
import { listElementFor } from '../list-element-decorator';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-item-list-element',
|
||||
styleUrls: ['./item-list-element.component.scss'],
|
||||
templateUrl: './item-list-element.component.html'
|
||||
})
|
||||
export class ItemListElementComponent {
|
||||
@Input() item: Item;
|
||||
|
||||
data: any = {};
|
||||
|
||||
}
|
||||
@listElementFor(Item)
|
||||
export class ItemListElementComponent extends ObjectListElementComponent {}
|
||||
|
Reference in New Issue
Block a user