wip
This commit is contained in:
1 parent
aeea5f731b
commit
12d29c7b3e
1 file changed
+4
-3
@@ -177,6 +177,7 @@ class Statistic extends BaseDashboard
|
||||
Select::make('similar_past_matches')
|
||||
->live()
|
||||
->hiddenLabel()
|
||||
->prefix('SPM')
|
||||
->placeholder('Similar Past Matches')
|
||||
->prefixIconColor('primary')
|
||||
->suffix(fn(Get $get): string|HtmlString => $get('similar_past_matches') != 'none' ? new HtmlString('<div class="text-center w-24 font-bold rounded p-1 bg-blue-600 dark:bg-blue-700 text-white dark:text-gray-300">± ' . $get('accuracy') . '</div>') : '')
|
||||
@@ -193,9 +194,9 @@ class Statistic extends BaseDashboard
|
||||
$set('team_position', null);
|
||||
})
|
||||
->options([
|
||||
'none' => 'SPM: None',
|
||||
'league' => 'SPM: League',
|
||||
'all' => 'SPM: All Database',
|
||||
'none' => 'None',
|
||||
'league' => 'League',
|
||||
'all' => 'All Database',
|
||||
]),
|
||||
Slider::make('accuracy')
|
||||
->live()
|
||||
|
||||
Reference in new issue
Block a user