Skip to content

Commit

Permalink
Merge branch '10.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Apr 30, 2024
2 parents 6ba8d61 + 52e41ae commit ec96344
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Nova/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ public function actions(NovaRequest $request): array
return [
Actions\Sleep::make()->canSee(function ($request) {
return optional($request->user())->id !== 4;
})->canSee(function ($request) {
return in_array($request->user()?->email, ['[email protected]']);
})->canRun(function () {
return false;
}),
Expand Down

0 comments on commit ec96344

Please sign in to comment.