Show trashed Users
This commit is contained in:
parent
b08cb46615
commit
b2a3faa125
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class CompanyUser extends Pivot
|
|||
|
||||
public function users()
|
||||
{
|
||||
return $this->hasMany(User::class);
|
||||
return $this->hasMany(User::class)->withTrashed();
|
||||
}
|
||||
|
||||
/*todo monitor this function - may fail under certain conditions*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue