<p-dataView #dv
*ngIf="!isLoadingGrid"
layout="grid"
[value]="filteredProfessionals"
emptyMessage="No se encontraron resultados"
[rows]="6"
[style]="{'background': 'transparent'}"
class="computer-pro-view">
<p-header>
<div class="ui-helper-clearfix">
<div class="ui-g">
<div class="ui-g-8 ui-md-8">
<div class="count-pros">
Tu búsqueda ha devuelto
{{filteredProfessionals.length}} resultados
</div>
</div>
<!-- <div class="ui-g-6 ui-md-4 filter-container">
<div style="position:relative">
<input type="search" pInputText placeholder="Search by ..." (keyup)="dv.filter($event.target.value)">
</div>
</div> -->
<div class="ui-g-4 ui-md-4" style="text-align:right">
<p-dataViewLayoutOptions></p-dataViewLayoutOptions>
</div>
</div>
</div>
</p-header>
<ng-template let-professional pTemplate="listItem">
<professional-card style="width: 100%;"
[professional]="professional"
(createDialog)="showCreateAppointment($event)">
</professional-card>
</ng-template>
<ng-template let-professional pTemplate="gridItem">
<div class="ui-g-12 ui-md-6 ddd-background">
<professional-card-grid [professional]="professional"
(createDialog)="showCreateAppointment($event)">
</professional-card-grid>
</div>
</ng-template>
<button type="button" pButton icon="fa fa-refresh"></button>
</ng-template> -->
</p-dataView>
我的选择网格/列表选项不再显示,我不知道为什么。我使用与网站相同的布局,并且已经工作了几个月,然后突然停止了
您可以看到p-dataViewLayoutOptions仍然存在。任何想法让它像这样