no message

This commit is contained in:
StudioTem committed 2023-07-12 14:46:41 +02:00
1 parent 25321a56b0
commit 1e21580432
1 file changed
+3
+3
View File
@@ -43,6 +43,9 @@ class MasterTask extends Model
} }
return $users->filter(function ($user) { return $users->filter(function ($user) {
if (!isset($user->teams)) {
return true;
}
return !in_array($this->team->id, $user->teams->pluck('id')->unique()->toArray()); return !in_array($this->team->id, $user->teams->pluck('id')->unique()->toArray());
}); });
} }