Skip to content

Commit

Permalink
fix: style packages can be saved without webhooks
Browse files Browse the repository at this point in the history
Refs: #193
  • Loading branch information
grigoriev committed Sep 9, 2024
1 parent be29466 commit 8aa6ebb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function saveStylePackage() {
'css': ChildConfigurations.cssSelect.getSelectedValue(),
'headerFooter': ChildConfigurations.headerFooterSelect.getSelectedValue(),
'localization': ChildConfigurations.localizationSelect.getSelectedValue(),
'webhooks': SbbCommon.getCheckboxValueById('webhooks-checkbox') ? ChildConfigurations.webhooksSelect.getSelectedValue() : [],
'webhooks': SbbCommon.getCheckboxValueById('webhooks-checkbox') ? ChildConfigurations.webhooksSelect.getSelectedValue() : null,
'headersColor': SbbCommon.getValueById('headers-color'),
'paperSize': PaperSizes.paperSizeSelect.getSelectedValue(),
'orientation': Orientations.orientationSelect.getSelectedValue(),
Expand Down

0 comments on commit 8aa6ebb

Please sign in to comment.