Skip to content

Commit

Permalink
fix: hide podcast area when stats disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricerenck committed Feb 28, 2024
1 parent 60648c1 commit 45b0050
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/areas.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

namespace mauricerenck\Podcaster;


if (option('mauricerenck.podcaster.statsInternal', false) === false) {
return null;
}

return [
'podcasts' => function ($kirby) {
return [
Expand Down

0 comments on commit 45b0050

Please sign in to comment.