mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 21:00:39 +08:00
Add check for meta on record panel
This commit is contained in:
parent
e36e287669
commit
8a783f2356
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ export class RecordContentComponent implements OnInit, OnDestroy {
|
|||
let isCollapsed = false;
|
||||
panel.label = panel?.label?.toUpperCase() ?? '';
|
||||
const panelKey = panel?.key?.toUpperCase() ?? '';
|
||||
if (panel.meta.panelDefault === 'collapsed') {
|
||||
if (panel.meta?.panelDefault === 'collapsed') {
|
||||
isCollapsed = true;
|
||||
}
|
||||
panel.isCollapsed = isCollapsed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue