AW-1426 Remove default component if none found
FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit Details

2022.01
Peter Bastiani 2020-08-11 14:11:51 +02:00
parent 3dd19c702f
commit 3b3c2768d3
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" [class.d-none]="item.name == 'Trijntje'" *ngFor="let item of items" (click)="handleItemClick(item)">
<div class="widget" *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>