Revert "AW-1426 Remove default component if none found"
Some checks failed
FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit

This reverts commit 3b3c2768d3.
This commit is contained in:
Peter (extern) 2020-08-11 14:24:12 +02:00
parent 3b3c2768d3
commit cede944538
2 changed files with 12 additions and 12 deletions

View File

@ -39,15 +39,15 @@ export abstract class AbstractItemWidgetComponent {
}
}
// @Injectable()
// @Component({
// selector: 'fm-map-item-list-item',
// templateUrl: './item-list-item.component.html',
// styleUrls: ['./item-list-item.component.scss']
// })
// export class ItemListItemComponent extends AbstractItemListItemComponent {
@Injectable()
@Component({
selector: 'fm-map-item-list-item',
templateUrl: './item-list-item.component.html',
styleUrls: ['./item-list-item.component.scss']
})
export class ItemListItemComponent extends AbstractItemListItemComponent {
// constructor(store: Store<mapReducers.State | commonReducers.State>, itemTypeService: ItemTypeService) {
// super(store, itemTypeService);
// }
// }
constructor(store: Store<mapReducers.State | commonReducers.State>, itemTypeService: ItemTypeService) {
super(store, itemTypeService);
}
}

View File

@ -1,5 +1,5 @@
<div *ngIf="items;let items" class="widget-container pt-0">
<div class="widget" *ngFor="let item of items" (click)="handleItemClick(item)">
<div class="widget" [class.d-none]="item.name == 'Trijntje'" *ngFor="let item of items" (click)="handleItemClick(item)">
<div class="content">
<fm-map-item-list-item-container [item]="item" class="item-container"></fm-map-item-list-item-container>
</div>