From 8b6c1f932fa83bbd69dcccced645e611d8c7c076 Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 10 Dec 2024 21:30:11 -0800 Subject: [PATCH] oops --- js/UpdatePanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/UpdatePanel.js b/js/UpdatePanel.js index 2b2faca..2ccd1fb 100644 --- a/js/UpdatePanel.js +++ b/js/UpdatePanel.js @@ -80,7 +80,7 @@ export default class UpdatePanel extends Panel { async fetchAndFlashFirmware() { const targetDevice = this.vortexPort.name.toLowerCase(); if (!targetDevice) { - targetDevice = this.editor.modesPanel.selectedDevice.toLower(); + targetDevice = this.editor.modesPanel.selectedDevice.toLowerCase(); } if (deviceLower === 'none') { throw new Error(`Select a device first`);