Skip to content

Commit

Permalink
Update ManageResourceLocks.php (#54)
Browse files Browse the repository at this point in the history
* Update ManageResourceLocks.php

the make function doesnot respond well to arabic words spacing so we need to use the label in here to make it work

* Update ManageResourceLocks.php

edit for the previous change
  • Loading branch information
MunaALB authored Jul 1, 2024
1 parent fd57063 commit 05c8e5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/LockResource/ManageResourceLocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ protected function getActions(): array
{
return [
Action::make(__('resource-lock::manager.unlock_all'))
->label(__('resource-lock::manager.unlock_all'))
->icon('heroicon-o-lock-open')
->action(fn () => config('resource-lock.models.ResourceLock', ResourceLock::class)::truncate())
->requiresConfirmation(),
Expand Down

0 comments on commit 05c8e5b

Please sign in to comment.