asdasd
All checks were successful
Deploy / deploy-staging (push) Successful in 5s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-11 00:38:44 +02:00
parent 3379e7f465
commit 95ae657626
2 changed files with 12 additions and 4 deletions

View File

@@ -29,8 +29,8 @@ $headerActions = isset($GLOBALS['layout_header_actions']) && is_array($GLOBALS['
$auth = app()->auth();
$authUser = $auth->user();
$isDebugAdmin = auth_is_admin();
$isNexusDebugEnabled = $isDebugAdmin && nexus_debug_enabled();
$isCurrentModuleDebugEnabled = $isDebugAdmin && $currentModuleName !== null && module_debug_enabled($currentModuleName);
$isNexusDebugEnabled = $isCurrentModuleDebugEnabled;
?>
<!doctype html>
<html lang="de">