Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Nov 30, 2024
1 parent 59fa6a5 commit f20759d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Laravel/src/Fields/Relationships/HasMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ protected function getTablePreview(): TableBuilderContract
$resource = clone $this->getResource()
->disableSaveQueryState();

if(\is_null($this->modifyBuilder) && $this->getRelatedModel()?->relationLoaded($this->getRelationName()) === true) {
if (\is_null($this->modifyBuilder) && $this->getRelatedModel()?->relationLoaded($this->getRelationName()) === true) {
$items = $this->toRelatedCollection();
} else {
$resource->disableQueryFeatures();
Expand Down

0 comments on commit f20759d

Please sign in to comment.