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:
parent
506e18af77
commit
bd8eaaf8b9
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue