Skip to content

Commit bbbcf27

Browse files
pablomendezroyoPablo Mendez
andauthored
fix: set default notifications if not user settings provided (#2213)
Co-authored-by: Pablo Mendez <pablo@dappnode.io>
1 parent 41375ec commit bbbcf27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/installer/src/installer/getInstallerPackageData.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ function getInstallerPackageData(
105105
manifest: release.manifest.notifications
106106
? {
107107
...release.manifest,
108-
// Apply notitications user settings if any
109-
notifications: notificationsSettings
108+
// Apply notitications user settings if any otherwise use the default manifest notifications
109+
notifications: notificationsSettings ?? release.manifest.notifications
110110
}
111111
: manifest,
112112
// User settings to be applied by the installer

0 commit comments

Comments
 (0)