Skip to content

Commit

Permalink
default max width in panel
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodes committed May 26, 2024
1 parent 541c81d commit f95bac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Modals/CuratorPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function openModal(string $id, array $settings = []): void
$this->tenantOwnershipRelationshipName = $settings['tenantOwnershipRelationshipName'];
$this->maxItems = $settings['maxItems'];
$this->maxSize = $settings['maxSize'];
$this->maxWidth = $settings['maxWidth'];
$this->maxWidth = $settings['maxWidth'] ?? 0;
$this->minSize = $settings['minSize'];
$this->pathGenerator = $settings['pathGenerator'];
$this->validationRules = $settings['rules'];
Expand Down

0 comments on commit f95bac6

Please sign in to comment.