osl-base-extended 15.2.1 → 15.3.1
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.
|
@@ -6611,6 +6611,8 @@ class OslReportForm {
|
|
|
6611
6611
|
try {
|
|
6612
6612
|
if (this.onGenerate) {
|
|
6613
6613
|
const result = await Promise.resolve(this.onGenerate({ ...this._model }, 'email'));
|
|
6614
|
+
if (!result)
|
|
6615
|
+
return;
|
|
6614
6616
|
if (Array.isArray(result))
|
|
6615
6617
|
generatedAttachments = result;
|
|
6616
6618
|
}
|