Skip to content

Commit

Permalink
fix: Consertando hook do Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnyjohnti committed May 27, 2024
1 parent 0f02d2c commit 265a6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function _init(): void

$plugin = $this;

$app->hook('template(opportunity.edit.registration-config):after', function () use ($app, $plugin) {
$app->hook('template(opportunity.edit.evaluations-config):begin', function () use ($app, $plugin) {
$opportunity = $this->controller->requestedEntity;

if($plugin::isEvaluationMethodValid($opportunity)) {
Expand Down

0 comments on commit 265a6c7

Please sign in to comment.