bug-fixes
This commit is contained in:
@@ -43,7 +43,11 @@ import { Category } from '../../core/categories/models/category-domain.model';
|
||||
[class.dynamic-widget--mobile-hidden]="widget.visibility?.mobile === false"
|
||||
>
|
||||
@if (resolveWidget(widget, section, model.id) | async; as resolved) {
|
||||
<ng-container *ngComponentOutlet="$any(resolved).component; inputs: { section: $any(resolved).section, data: $any(resolved).data, categorySelectedCallback: onCategorySelected.bind(this) }"></ng-container>
|
||||
@if (widget.type === 'categories') {
|
||||
<ng-container *ngComponentOutlet="$any(resolved).component; inputs: { section: $any(resolved).section, data: $any(resolved).data, categorySelectedCallback: onCategorySelected.bind(this) }"></ng-container>
|
||||
} @else {
|
||||
<ng-container *ngComponentOutlet="$any(resolved).component; inputs: { section: $any(resolved).section, data: $any(resolved).data }"></ng-container>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user