aboutsummaryrefslogtreecommitdiff
path: root/src-ui/src
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-10 18:37:46 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-10 18:37:46 +0200
commitf8f89eaa1fa92a01294ac20c598eec43d211ea20 (patch)
tree42d6185f5a83fdf02707a1abdec04b547f6d99e9 /src-ui/src
parent80b8b2c318fbb04853a813c438c896a4b2f8b37d (diff)
downloadFlightCore-f8f89eaa1fa92a01294ac20c598eec43d211ea20.tar.gz
FlightCore-f8f89eaa1fa92a01294ac20c598eec43d211ea20.zip
Remove unnecessary typing
Diffstat (limited to 'src-ui/src')
-rw-r--r--src-ui/src/main.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src-ui/src/main.ts b/src-ui/src/main.ts
index 24c9f04a..f8bdbe41 100644
--- a/src-ui/src/main.ts
+++ b/src-ui/src/main.ts
@@ -194,10 +194,9 @@ document.addEventListener("DOMContentLoaded", async function () {
let game_install_obj = game_install as GameInstall;
// Change omni-button content based on whether game install was found
- let game_path_str = game_install_obj.game_path as string
omniButtonEl.textContent = button_install_string;
- installLocationHolderEl.value = game_path_str;
- globalState.gamepath = game_path_str;
+ installLocationHolderEl.value = game_install_obj.game_path;
+ globalState.gamepath = game_install_obj.game_path;
// Check installed Northstar version if found
get_northstar_version_number_and_set_button_accordingly(omniButtonEl);