Skip to content

Commit 05a3211

Browse files
authored
Merge pull request #15 from SanderMuller/fix-slow-outgoing-config
Fix naming for PulseSlowOutGoingRequests
2 parents 0e682d5 + bbe2843 commit 05a3211

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/filament-laravel-pulse.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
'columnStart' => [],
6363
],
6464

65-
'slow-out-going' => [
65+
'slow-out-going-requests' => [
6666
'columnSpan' => 'full',
6767
'cols' => 'full',
6868
'ignoreAfter' => '1 day',

src/Widgets/PulseSlowOutGoingRequests.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class PulseSlowOutGoingRequests extends Widget
1616

1717
public function __construct()
1818
{
19-
$config = config('filament-laravel-pulse.components.slow-out-going-requests');
19+
$config = config('filament-laravel-pulse.components.slow-out-going-requests') ?? config('filament-laravel-pulse.components.slow-out-going');
2020
$this->columnSpan = $config['columnSpan'] ?? [
2121
'md' => 5,
2222
'xl' => 5,

0 commit comments

Comments
 (0)