Skip to content

Commit cf9b43b

Browse files
Fix styling
1 parent a48de6f commit cf9b43b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/SelectTree.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
class SelectTree extends Field
1616
{
17-
use HasRelationships;
1817
use CanBeDisabled;
1918
use CanBeSearchable;
2019
use HasPlaceholder;
20+
use HasRelationships;
2121

2222
protected string $view = 'select-tree::select-tree';
2323

@@ -99,10 +99,10 @@ private function buildTree(int $parent = null): array|Collection
9999
$defaultQuery = $this->getRelationship()->getRelated()->query()
100100
->where($key, $parent);
101101

102-
// // If we're not at the root level and a modification callback is provided, apply it.
103-
// if (!$parent && $this->modifyQueryUsing) {
104-
// $defaultQuery = $this->evaluate($this->modifyQueryUsing, ['query' => $defaultQuery]);
105-
// }
102+
// // If we're not at the root level and a modification callback is provided, apply it.
103+
// if (!$parent && $this->modifyQueryUsing) {
104+
// $defaultQuery = $this->evaluate($this->modifyQueryUsing, ['query' => $defaultQuery]);
105+
// }
106106

107107
// Fetch the results from the default query.
108108
$results = $defaultQuery->get();

0 commit comments

Comments
 (0)