Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Oct 20, 2023
1 parent eb1dae3 commit c42a39a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Forms/Components/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public function getLinks(): Collection
if ($this->type === 'user') {
return $this->getUsers();
}

return match ($this->type) {
'user' => $this->getUsers(),
'organization' => $this->getOrganization(),
Expand Down

0 comments on commit c42a39a

Please sign in to comment.