Skip to content

Commit

Permalink
fix: only add column when it doesn't exist (#167)
Browse files Browse the repository at this point in the history
* fix: only add column when it doesn't exist

* style: formatting
  • Loading branch information
64knl committed Jan 11, 2024
1 parent f052d75 commit fb8a2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/Editor/FieldsProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private function addLayoutFields(array $properties, LayoutForm &$form)
// $checkboxField->setValue(true);
// } else {
$checkboxField->setValue(false);
// }
// }
} else {
$checkboxField->setValue($value ?? false);
}
Expand Down

0 comments on commit fb8a2cf

Please sign in to comment.