diff --git a/app/Models/Auth/User.php b/app/Models/Auth/User.php index 2d4d21c8a..e51b4fa1b 100644 --- a/app/Models/Auth/User.php +++ b/app/Models/Auth/User.php @@ -311,14 +311,12 @@ class User extends Authenticatable implements HasLocalePreference return $actions; } - if (! $this->hasPendingInvitation()) { - $actions[] = [ - 'title' => trans('general.edit'), - 'icon' => 'edit', - 'url' => route('users.edit', $this->id), - 'permission' => 'update-auth-users', - ]; - } + $actions[] = [ + 'title' => trans('general.edit'), + 'icon' => 'edit', + 'url' => route('users.edit', $this->id), + 'permission' => 'update-auth-users', + ]; if ($this->hasPendingInvitation()) { $actions[] = [ diff --git a/resources/views/auth/users/index.blade.php b/resources/views/auth/users/index.blade.php index dc7b0e3c3..48c00e447 100644 --- a/resources/views/auth/users/index.blade.php +++ b/resources/views/auth/users/index.blade.php @@ -48,15 +48,11 @@ @foreach($users as $item)