Skip to content

Commit

Permalink
Merge pull request #33 from lamberttraccard/2.x
Browse files Browse the repository at this point in the history
Update OverlookWidget.php
  • Loading branch information
awcodes authored Feb 9, 2024
2 parents 1d5401d + 6218474 commit e9a0ba3
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 e9a0ba3

Please sign in to comment.