From edca3f432ce1384e0b087d8209787e60beac1219 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 25 Sep 2024 20:30:58 +0100 Subject: [PATCH] Removed gate for delete Signed-off-by: snipe --- .../partials/users-bulk-actions.blade.php | 32 +++++++++---------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/resources/views/partials/users-bulk-actions.blade.php b/resources/views/partials/users-bulk-actions.blade.php index 20d607a46f..ef800d18a0 100644 --- a/resources/views/partials/users-bulk-actions.blade.php +++ b/resources/views/partials/users-bulk-actions.blade.php @@ -7,26 +7,24 @@ 'id' => 'usersBulkForm']) }} @if (request('status')!='deleted') - @can('delete', \App\Models\User::class) -
- - - @can('update', \App\Models\User::class) - - - @endcan + @can('update', \App\Models\User::class) + + + @endcan - @can('delete', \App\Models\User::class) - - @endcan + @can('delete', \App\Models\User::class) + + @endcan - - - - -
- @endcan + + + + + @endif {{ Form::close() }}