wip
This commit is contained in:
1 parent
bca5e9ec23
commit
d954a9fa5c
19 files changed
+5718
-479
No files matched your search
@@ -12,13 +12,13 @@ class LoadEvents
|
||||
{
|
||||
public static $last_query = [];
|
||||
|
||||
public static function load($filter)
|
||||
public static function load(array $filter, bool $hasdots)
|
||||
{
|
||||
// dd($filter);
|
||||
|
||||
if (self::$last_query) {
|
||||
return self::$last_query;
|
||||
}
|
||||
// if (self::$last_query) {
|
||||
// return self::$last_query;
|
||||
// }
|
||||
|
||||
$league_id = (int) $filter['league_id'] ?? 0;
|
||||
|
||||
@@ -372,6 +372,7 @@ class LoadEvents
|
||||
'tension' => 0.5,
|
||||
'borderColor' => '#fb2c36',
|
||||
'backgroundColor' => '#fb2c36',
|
||||
'pointStyle' => $hasdots,
|
||||
'fill' => [
|
||||
'target' => 1,
|
||||
'above' => '#fb2c3680',
|
||||
@@ -387,6 +388,7 @@ class LoadEvents
|
||||
'tension' => 0.5,
|
||||
'borderColor' => '#fdc700',
|
||||
'backgroundColor' => '#fdc700',
|
||||
'pointStyle' => $hasdots,
|
||||
'fill' => false,
|
||||
],
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user