This commit is contained in:
salam committed 2026-08-30 22:58:08 +02:00
1 parent 677f61a415
commit aa59ad8d9e
1 file changed
+3 -1
+3 -1
View File
@@ -331,6 +331,7 @@ class Statistic extends BaseDashboard
->extraAttributes([
'class' => 'radio-statistic-group',
])
->hidden(fn(Get $get) => $get('similar_past_matches') != 'none')
->columnSpan([
'default' => 4,
'sm' => 4,
@@ -351,7 +352,7 @@ class Statistic extends BaseDashboard
->placeholder('Current Season')
->prefixIconColor('success')
// ->prefixIconColor(fn(Get $get): string => $get('season') ? 'success' : 'primary')
->hidden(fn (Get $get) => $get('season_or_date') == 'date')
->hidden(fn(Get $get) => $get('season_or_date') == 'date' || $get('similar_past_matches') != 'none')
->prefixIcon('phosphor-calendar-star-fill')
->options(function (Get $get) {
return LoadSeasons::load($get('sofascore_category_id'));
@@ -388,6 +389,7 @@ class Statistic extends BaseDashboard
->action(fn(Set $set) => $set('end_date', null))
),
Action::make('esc')
->label('Reset [esc]')
->icon('phosphor-x-circle')
->color('gray')
->keyBindings(['esc'])