1
0

#150 Generalised AbstractListableElementComponent instead of grid/list specific implementations

This commit is contained in:
Jonas Van Goolen
2017-11-17 16:26:33 +01:00
parent d1b225bd95
commit db0db81c63
16 changed files with 31 additions and 59 deletions

View File

@@ -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> {}