Skip to content

Commit

Permalink
Update packages/panels/src/Panel/Concerns/HasRoutes.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin authored Jul 17, 2024
1 parent 109c1ae commit 877b6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/panels/src/Panel/Concerns/HasRoutes.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function getPath(): string

public function getUrl(?Model $tenant = null): ?string
{
if (! $this->auth()->check() && $this->hasLogin()) {
if ((! $this->auth()->check()) && $this->hasLogin()) {
return $this->getLoginUrl();
}

Expand Down

0 comments on commit 877b6eb

Please sign in to comment.