From 0c2dd4ac23d07e7cd96da55ec8c28dfa7ef37e1f Mon Sep 17 00:00:00 2001 From: Alex Popa Date: Wed, 11 Dec 2024 23:25:59 +0200 Subject: [PATCH] Add default specialist role in case overview widget --- .../BeneficiaryResource/Widgets/CaseTeamListWidget.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Filament/Organizations/Resources/BeneficiaryResource/Widgets/CaseTeamListWidget.php b/app/Filament/Organizations/Resources/BeneficiaryResource/Widgets/CaseTeamListWidget.php index da695aab..5ba440a3 100644 --- a/app/Filament/Organizations/Resources/BeneficiaryResource/Widgets/CaseTeamListWidget.php +++ b/app/Filament/Organizations/Resources/BeneficiaryResource/Widgets/CaseTeamListWidget.php @@ -39,7 +39,8 @@ public function table(Table $table): Table ]) ->columns([ TextColumn::make('role.name') - ->label(__('beneficiary.section.specialists.labels.role')), + ->label(__('beneficiary.section.specialists.labels.role')) + ->default(__('beneficiary.section.specialists.labels.empty_state_role')), TextColumn::make('user.full_name') ->label(__('beneficiary.section.specialists.labels.name')),