diff --git a/src/Widgets/OverlookWidget.php b/src/Widgets/OverlookWidget.php index 0fd3a53..2471122 100644 --- a/src/Widgets/OverlookWidget.php +++ b/src/Widgets/OverlookWidget.php @@ -59,8 +59,8 @@ public function formatRawCount(string $number): string public function getData(): array { $plugin = OverlookPlugin::get(); - $includes = $this->includes ?? $plugin->getIncludes(); - $excludes = $this->excludes ?? $plugin->getExcludes(); + $includes = filled($this->includes) ? $this->includes : $plugin->getIncludes(); + $excludes = filled($this->excludes) ? $this->excludes : $plugin->getExcludes(); $rawResources = filled($includes) ? $includes