Skip to content

Commit

Permalink
Update OverlookWidget.php
Browse files Browse the repository at this point in the history
  • Loading branch information
lamberttraccard authored Feb 8, 2024
1 parent 1d5401d commit 6218474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Widgets/OverlookWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6218474

Please sign in to comment.