Skip to content

Commit

Permalink
Support ThemeData model (#13)
Browse files Browse the repository at this point in the history
FIxes #12
  • Loading branch information
LukeTowers authored Oct 14, 2024
1 parent b8916a9 commit 3e64896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ protected function extendBackendForms(): void
$widget->{$location}['paneCssClass'][$tab] = 'padded-pane';
$widget->{$location}['icons'][$tab] = 'icon-magnifying-glass';

$widget->{$location}['fields'] = array_merge($widget->{$location}['fields'], $fields);
$widget->{$location}['fields'] = array_merge($widget->{$location}['fields'] ?? [], $fields);
});
}
}
Expand Down

0 comments on commit 3e64896

Please sign in to comment.