Skip to content

Commit c5f8e09

Browse files
committed
Fix Property [$rows] not found on component pulse-slow-jobs
Fixes Property [$rows] not found on component: [dotswan.filament-laravel-pulse.widgets.pulse-slow-jobs]
1 parent 72c4ad4 commit c5f8e09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Widgets/PulseSlowJobs.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@ class PulseSlowJobs extends Widget
1414

1515
protected string $ignoreAfter;
1616

17+
protected int $rows;
18+
1719
public function __construct()
1820
{
1921
$config = config('filament-laravel-pulse.components.slow-jobs');
2022
$this->columnSpan = $config['columnSpan'] ?? [
2123
'md' => 5,
2224
'xl' => 5,
2325
];
26+
$this->rows = $config['rows'] ?? 2;
2427
$this->cols = $config['cols'] ?? 'full';
2528
$this->ignoreAfter = $config['ignoreAfter'] ?? '1 hour';
2629
self::$isDiscovered = $config['isDiscovered'] ?? true;

0 commit comments

Comments
 (0)