mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 01:10:42 +08:00
Fix #566 - Add displayLogic to panels like tabs
This commit is contained in:
parent
c4a374ce4b
commit
2c99907054
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
<ng-container *ngIf="dataSource">
|
||||
<div *ngIf="config && config.layout === 'panels'" class="record-content panel-layout container-fluid pl-0 pr-0">
|
||||
<div class="row no-gutters mb-3" *ngFor="let panel of panels">
|
||||
<div class="col">
|
||||
<div class="col" *ngIf="panel.display$ | async">
|
||||
<scrm-panel [title]="panel.label" [isCollapsed$]="(panel.isCollapsed | toObservable)" mode="collapsible">
|
||||
<div panel-body class="panel-{{panel.key}}">
|
||||
<scrm-field-layout [dataSource]="getLayoutDataSource(panel)"></scrm-field-layout>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue