Skip to content

Commit b1804b1

Browse files
authored
Merge pull request #666 from vidartf/fix-exit-code
Correctly send exit code 0
2 parents e7a828d + 53e1a9f commit b1804b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webapp/src/app/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ function sendBeacon(url: string, data: PartialJSONObject): void {
233233
}
234234

235235
for (let key of Object.keys(data)) {
236-
if (data[key]) {
236+
if (data[key] !== null && data[key] !== undefined) {
237237
formData.append(key, data[key]!.toString() );
238238
}
239239
}

0 commit comments

Comments
 (0)