aboutsummaryrefslogtreecommitdiff
path: root/src-ui/src/main.ts
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-08-30 01:10:22 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-08-30 01:10:22 +0200
commitf71d65f57a3328012fc786f3337d1e530f88e320 (patch)
treedf9ff0a3c043d734311c00299eb6a0e1b22b185f /src-ui/src/main.ts
parent91420d9ebb8842a9aa5c705168a4bc5dec1d18e2 (diff)
downloadFlightCore-f71d65f57a3328012fc786f3337d1e530f88e320.tar.gz
FlightCore-f71d65f57a3328012fc786f3337d1e530f88e320.zip
Show Northstar version number in play button
Diffstat (limited to 'src-ui/src/main.ts')
-rw-r--r--src-ui/src/main.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-ui/src/main.ts b/src-ui/src/main.ts
index 127aa119..2150df4f 100644
--- a/src-ui/src/main.ts
+++ b/src-ui/src/main.ts
@@ -67,7 +67,7 @@ document.addEventListener("DOMContentLoaded", async function () {
let northstar_version_number = await invoke("get_northstar_version_number_caller") as string;
if (northstar_version_number && northstar_version_number.length > 0) {
globalState.installed_northstar_version = northstar_version_number;
- omniButtonEl.textContent = "Play"
+ omniButtonEl.textContent = `Play (${northstar_version_number})`;
// TODO check if version is newest
}
console.log(globalState);