Skip to content

Commit 3157486

Browse files
committed
fix fallback assignment
1 parent a9d0a4a commit 3157486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Widgets/PlausibleWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ protected function getData(): array
8282
*/
8383
protected function getTimeseries(): array
8484
{
85-
$this->filter = Config::get('filament-plausible-widget.periods.default');
85+
$this->filter ??= Config::get('filament-plausible-widget.periods.default');
8686

8787
return (new PlausibleClient())->timeseries($this->filter);
8888
}

0 commit comments

Comments
 (0)