aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-10 17:11:45 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-10 17:11:45 +0200
commitd6e72199553e38c4435b5625b1f7af9f71ae0754 (patch)
tree4b41391b37dec5b4f8866976d31d5d5baabe4862
parent728f3c81320af6c97bd4217def4fdc5a0f1761d3 (diff)
downloadFlightCore-d6e72199553e38c4435b5625b1f7af9f71ae0754.tar.gz
FlightCore-d6e72199553e38c4435b5625b1f7af9f71ae0754.zip
Do nothing when button clicked mid-action
-rw-r--r--src-ui/src/main.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src-ui/src/main.ts b/src-ui/src/main.ts
index 080c2e0a..46d3b9de 100644
--- a/src-ui/src/main.ts
+++ b/src-ui/src/main.ts
@@ -141,6 +141,11 @@ document.addEventListener("DOMContentLoaded", async function () {
get_northstar_version_number_and_set_button_accordingly(omniButtonEl);
break;
+ // Do nothing when clicked during install/update
+ case button_in_update_string:
+ case button_in_install_string:
+ break;
+
// Fallback
default:
alert(`Not implemented yet: ${omniButtonEl.textContent}`);