aboutsummaryrefslogtreecommitdiff
path: root/src-ui/src
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-09 22:26:09 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-09 22:26:09 +0200
commit4db6b3d79b7289717a16603c527bc0d5e3ea0594 (patch)
tree8046c54430e0f1122f233d29f62bea4e8574df64 /src-ui/src
parent289f7511f9bebf2600199de11ebc4dcdbbccc93c (diff)
downloadFlightCore-4db6b3d79b7289717a16603c527bc0d5e3ea0594.tar.gz
FlightCore-4db6b3d79b7289717a16603c527bc0d5e3ea0594.zip
Add switch-case for performing action
on button click based on UI state
Diffstat (limited to 'src-ui/src')
-rw-r--r--src-ui/src/main.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src-ui/src/main.ts b/src-ui/src/main.ts
index c92ddce5..09c7f057 100644
--- a/src-ui/src/main.ts
+++ b/src-ui/src/main.ts
@@ -82,7 +82,11 @@ document.addEventListener("DOMContentLoaded", async function () {
// return;
// }
- alert("TODO");
+ switch (omniButtonEl.textContent) {
+ default:
+ alert("Not implemented yet");
+ break;
+ }
});
// // counter button click