Skip to content

Commit

Permalink
Merge pull request #2390 from ITK-Leantime/hotfix/issue-2389
Browse files Browse the repository at this point in the history
Added check for plugin enabled on settings link
  • Loading branch information
marcelfolaron authored Mar 12, 2024
2 parents f4432d6 + 957ccad commit f584343
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@endif
</div>
<div class="col-md-4" style="padding-top:10px; text-align:right;">
@if (file_exists(APP_ROOT . '/app/Plugins/' . $plugin->foldername . '/Controllers/Settings.php'))
@if ($plugin->enabled && file_exists(APP_ROOT . '/app/Plugins/' . $plugin->foldername . '/Controllers/Settings.php'))
<a href="{{ BASE_URL }}/{{ $plugin->foldername }}/settings"><i class="fa fa-cog"></i> Settings</a>
@endif
</div>
Expand Down

0 comments on commit f584343

Please sign in to comment.