]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
service view: fix stale stop/restart button enabled behavior
authorOguz Bektas <o.bektas@proxmox.com>
Tue, 13 Jul 2021 11:03:15 +0000 (13:03 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 13 Jul 2021 16:35:43 +0000 (18:35 +0200)
commit0c15c08eeef65e4f7c8b62ce0e8ab0872522457f
treef124cca8d6eaca42e069bb656be954b521c98efd
parentae6a1cc90864bc45a7ad4754d36c0a0a82d2e992
service view: fix stale stop/restart button enabled behavior

fix an issue where the stop or restart button stays enabled for
elements in 'startOnlyServices' after switching selection from a
service that was not restricted to start-only

note: front-end change only as the backend already refused to stop a
start-only service.

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/node/ServiceView.js