CreateImageWizard/requestMapper: fix enabling firstboot

when there none of service.{enabled|masked|disabled}
firstboot also is not enabled (if requested)
this patch fixes this bug
This commit is contained in:
Florian Schüller 2024-09-27 21:00:33 +02:00 committed by Klara Simickova
parent 506e18af77
commit bd8eaaf8b9

View file

@ -497,7 +497,8 @@ const getServices = (state: RootState): Services | undefined => {
if (
services.enabled.length === 0 &&
services.masked.length === 0 &&
services.disabled.length === 0
services.disabled.length === 0 &&
!selectFirstBootScript(state)
) {
return undefined;
}