Skip to content

Commit

Permalink
fix: export profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavs-gutmanis committed Dec 27, 2023
1 parent 9cced52 commit 387ba49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin/src/Models/Pro/ExportProfileModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function getFieldSettings(): array
$isChecked = (bool) $item['checked'];

if (is_numeric($fieldId)) {
$field = $form->getLayout()->getField($fieldId);
$field = $form->get($fieldId);
$label = $field->getLabel();

$storedFieldIds[] = $field->getId();
Expand Down

0 comments on commit 387ba49

Please sign in to comment.