From 05c8e5be67607a628e52291bbc9b637262218794 Mon Sep 17 00:00:00 2001 From: Muna El-Boashi <45367528+MunaALB@users.noreply.github.com> Date: Mon, 1 Jul 2024 11:34:43 +0200 Subject: [PATCH] Update ManageResourceLocks.php (#54) * 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 --- src/Resources/LockResource/ManageResourceLocks.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Resources/LockResource/ManageResourceLocks.php b/src/Resources/LockResource/ManageResourceLocks.php index 9513f98..144b0f3 100644 --- a/src/Resources/LockResource/ManageResourceLocks.php +++ b/src/Resources/LockResource/ManageResourceLocks.php @@ -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(),