fix: hide restart troubleshooting for nextcloud and wordpress php-fpm services

Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/fb1bb511-22f7-4b0b-b07e-2bc59ee468ac

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-16 17:53:01 +00:00
committed by GitHub
parent 12b2d85fb4
commit 7d15b67463

View File

@@ -270,7 +270,7 @@ async function openServiceDetailModal(unit, name, icon) {
'</div>';
}
if (effectiveEnabled || data.enabled) {
if ((effectiveEnabled || data.enabled) && unit !== "phpfpm-nextcloud.service" && unit !== "phpfpm-wordpress.service") {
html += '<div class="svc-detail-section svc-detail-restart-section">' +
'<div class="svc-detail-section-title">Troubleshooting</div>' +
'<p class="svc-detail-desc">If you\'re experiencing issues with this service, try restarting it.</p>' +