Skip to content

Commit

Permalink
Corrige execução do hook que define o menu da configuração de SPAM no…
Browse files Browse the repository at this point in the history
… sidebar esquerdo
  • Loading branch information
erleibiazzio committed Oct 8, 2024
1 parent 3b61a93 commit 641d413
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ public function _init()
$this->spamBlock = true;
}
});
$app->hook('template(panel.index.panel-nav-left-sidebar):begin', function() use($app) {

$app->hook('template(panel.<<*>>.panel-nav-left-sidebar):begin', function() use($app) {
if($app->user->is('admin')) {
$this->part('configuration-menu');
}
Expand Down

0 comments on commit 641d413

Please sign in to comment.