feat: update various Filament resources and models for enhanced functionality

This commit is contained in:
Remco
2026-01-24 21:24:49 +01:00
parent 9378fc16e5
commit 71a4c6677e
14 changed files with 159 additions and 25 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ namespace App\Models;
use App\Models\Articles\WebsiteArticle;
use App\Models\Articles\WebsiteArticleComment;
use App\Models\Community\Staff\WebsiteStaffApplications;
use App\Models\Community\Staff\WebsiteTeam;
use App\Models\Community\Staff\WebsiteStaffTeam;
use App\Models\Game\Furniture\Item;
use App\Models\Game\Permission;
use App\Models\Game\Player\MessengerFriendship;
@@ -239,11 +239,11 @@ class User extends Authenticatable implements FilamentUser, HasName
}
/**
* @return BelongsTo<WebsiteTeam, $this>
* @return BelongsTo<WebsiteStaffTeam, $this>
*/
public function team(): BelongsTo
{
return $this->belongsTo(WebsiteTeam::class, 'team_id');
return $this->belongsTo(WebsiteStaffTeam::class, 'team_id');
}
/**