@foodpilot/foods 0.3.66 → 0.3.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -31666,7 +31666,7 @@ const dl = (e) => {
31666
31666
  {
31667
31667
  defaultOptions: { variant: "text" },
31668
31668
  buttonOptions: {
31669
- onClick: () => e.onCancel,
31669
+ onClick: () => e.onCancel && e.onCancel(),
31670
31670
  label: e.cancelLabel || t("Annuler")
31671
31671
  }
31672
31672
  }
@@ -31676,7 +31676,7 @@ const dl = (e) => {
31676
31676
  {
31677
31677
  defaultOptions: { variant: "primary" },
31678
31678
  buttonOptions: {
31679
- onClick: () => e.onValidate,
31679
+ onClick: () => e.onValidate && e.onValidate(),
31680
31680
  label: e.validateLabel || t("Valider")
31681
31681
  }
31682
31682
  }