From 7d15b67463f1c2671741e9fee25d0353c1a6bec0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Apr 2026 17:53:01 +0000 Subject: [PATCH] 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> --- app/sovran_systemsos_web/static/js/service-detail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sovran_systemsos_web/static/js/service-detail.js b/app/sovran_systemsos_web/static/js/service-detail.js index 1bde524..0920cae 100644 --- a/app/sovran_systemsos_web/static/js/service-detail.js +++ b/app/sovran_systemsos_web/static/js/service-detail.js @@ -270,7 +270,7 @@ async function openServiceDetailModal(unit, name, icon) { ''; } - if (effectiveEnabled || data.enabled) { + if ((effectiveEnabled || data.enabled) && unit !== "phpfpm-nextcloud.service" && unit !== "phpfpm-wordpress.service") { html += '
' + '
Troubleshooting
' + '

If you\'re experiencing issues with this service, try restarting it.

' +