forked from hazza/dspace-angular
#150 Generalised AbstractListableElementComponent instead of grid/list specific implementations
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Component, Input, Inject } from '@angular/core';
|
||||
|
||||
import { Item } from '../../../core/shared/item.model';
|
||||
import { ObjectListElementComponent } from '../object-list-element/object-list-element.component';
|
||||
import { AbstractListableElementComponent } from '../../object-collection/shared/object-collection-element/abstract-listable-element.component';
|
||||
import { renderElementsFor } from '../../object-collection/shared/dso-element-decorator';
|
||||
import { ViewMode } from '../../../+search-page/search-options.model';
|
||||
|
||||
@@ -12,4 +12,4 @@ import { ViewMode } from '../../../+search-page/search-options.model';
|
||||
})
|
||||
|
||||
@renderElementsFor(Item, ViewMode.List)
|
||||
export class ItemListElementComponent extends ObjectListElementComponent<Item> {}
|
||||
export class ItemListElementComponent extends AbstractListableElementComponent<Item> {}
|
||||
|
Reference in New Issue
Block a user