]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/node/ServiceView.js
service view: disable all buttons for masked/not-found/unknown services
[proxmox-widget-toolkit.git] / src / node / ServiceView.js
index 5b7e82a3e6b95342f148bb66db52b352a0d2976f..75a5c28db2ed77ca35b1eb487b69575a19da91a5 100644 (file)
@@ -123,9 +123,10 @@ Ext.define('Proxmox.node.ServiceView', {
                    restart_btn.enable();
                    start_btn.disable();
                }
-           } else if (unit !== undefined && (unit === 'masked' || unit === 'unknown')) {
+           } else if (unit !== undefined && (unit === 'masked' || unit === 'unknown' || unit === 'not-found')) {
                start_btn.disable();
                restart_btn.disable();
+               stop_btn.disable();
            } else {
                start_btn.enable();
                stop_btn.disable();