[pve-devel] applied: [PATCH widget-toolkit v3] fix #5836: ui: translate systemd states in ServiceView

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Nov 11 21:38:04 CET 2024


Am 11.11.24 um 14:17 schrieb Timothy Nicholson:
> Signed-off-by: Timothy Nicholson <t.nicholson at proxmox.com>
> ---
> changes since v2 [0]:
> - use object instead of switch-case statement for systemd states
> - use different terms (starting/stopping) for start/stop states
> [0]: https://lore.proxmox.com/pve-devel/20241111103705.76679-1-t.nicholson@proxmox.com/
> 
>  src/Utils.js            | 12 ++++++++++++
>  src/node/ServiceView.js | 14 ++++++--------
>  2 files changed, 18 insertions(+), 8 deletions(-)
> 
>

applied, thanks!

Albeit I could imagine that we might someday need different maps for the
state and unit-state ones, but for now it should work out FWICT.




More information about the pve-devel mailing list