user listing flow updated
This commit is contained in:
@ -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[] = [
|
||||
|
Reference in New Issue
Block a user