Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Apr 30, 2024
1 parent 26cecb5 commit 52e41ae
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 52e41ae

Please sign in to comment.