File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 121
121
'md ' => 5 ,
122
122
'xl ' => 5 ,
123
123
],
124
+ 'rows ' => 2 ,
124
125
'cols ' => 'full ' ,
125
126
'ignoreAfter ' => '1 day ' ,
126
127
'isDiscovered ' => true ,
Original file line number Diff line number Diff line change @@ -14,13 +14,16 @@ class PulseSlowJobs extends Widget
14
14
15
15
protected string $ ignoreAfter ;
16
16
17
+ protected int $ rows ;
18
+
17
19
public function __construct ()
18
20
{
19
21
$ config = config ('filament-laravel-pulse.components.slow-jobs ' );
20
22
$ this ->columnSpan = $ config ['columnSpan ' ] ?? [
21
23
'md ' => 5 ,
22
24
'xl ' => 5 ,
23
25
];
26
+ $ this ->rows = $ config ['rows ' ] ?? 2 ;
24
27
$ this ->cols = $ config ['cols ' ] ?? 'full ' ;
25
28
$ this ->ignoreAfter = $ config ['ignoreAfter ' ] ?? '1 hour ' ;
26
29
self ::$ isDiscovered = $ config ['isDiscovered ' ] ?? true ;
You can’t perform that action at this time.
0 commit comments