From 1bb0bf81931b6d4fa608f45c3be1d66a245bf0a6 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Mon, 18 Nov 2024 15:06:08 +0100 Subject: [PATCH] fix null cloudbuildOptions --- src/js/tabs/firmware_flasher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/tabs/firmware_flasher.js b/src/js/tabs/firmware_flasher.js index 86ee143cae3..cc6962a0474 100644 --- a/src/js/tabs/firmware_flasher.js +++ b/src/js/tabs/firmware_flasher.js @@ -225,7 +225,7 @@ firmware_flasher.initialize = function (callback) { .filter(option => option.group === 'OSD') .map(option => { option.name = option.groupedName; - option.default = self.cloudBuildOptions.includes(option.value); + option.default = self.cloudBuildOptions?.includes(option.value); return option; });