diff --git a/Plugin.php b/Plugin.php index 2e4fa9c..db13fad 100644 --- a/Plugin.php +++ b/Plugin.php @@ -128,7 +128,7 @@ function _init() ]; return; }); - $app->hook("template(<>.<<*>>.name):after", function () use ($app) { + $app->hook("template(<>.<<*>>.name):before", function () use ($app) { /** @var MapasCulturais\Theme $this */ $entity = $this->controller->requestedEntity; if (($app->user->id == $entity->ownerUser->id) && diff --git a/layouts/parts/network-node/entity-sync-switch.php b/layouts/parts/network-node/entity-sync-switch.php index a625dbc..b5a9e8a 100644 --- a/layouts/parts/network-node/entity-sync-switch.php +++ b/layouts/parts/network-node/entity-sync-switch.php @@ -1,7 +1,9 @@ -