From 37b0864c1254769fe894a25ec7980acebffdd3be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Thu, 28 Mar 2024 03:11:24 +0100 Subject: [PATCH] Fixed fixed service tab --- server/src/uds/core/services/generics/fixed/service.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/uds/core/services/generics/fixed/service.py b/server/src/uds/core/services/generics/fixed/service.py index d177f629a..5138d67e6 100644 --- a/server/src/uds/core/services/generics/fixed/service.py +++ b/server/src/uds/core/services/generics/fixed/service.py @@ -90,7 +90,7 @@ class FixedService(services.Service, abc.ABC): # pylint: disable=too-many-publi tooltip=_( 'If active, UDS will try to create an snapshot (if one already does not exists) before accessing a machine, and restore it after usage.' ), - tab=_('Machines'), + tab=types.ui.Tab.MACHINE, old_field_name='useSnapshots', ) @@ -102,7 +102,7 @@ class FixedService(services.Service, abc.ABC): # pylint: disable=too-many-publi tooltip=_( 'If active, UDS will try to create an snapshot (if one already does not exists) before accessing a machine, and restore it after usage.' ), - tab=_('Machines'), + tab=types.ui.Tab.MACHINE, choices=[ gui.choice_item('no', _('No snapshot')), gui.choice_item('stop', _('Recover snapshot and stop machine')), @@ -116,7 +116,7 @@ class FixedService(services.Service, abc.ABC): # pylint: disable=too-many-publi order=21, tooltip=_('Machines for this service'), required=True, - tab=_('Machines'), + tab=types.ui.Tab.MACHINE, rows=10, )