aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/components/PlayButton.vue
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-10-03 01:58:23 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-10-03 01:58:23 +0200
commitb09138a7f97559f2c59d240f882f16ec08d4934c (patch)
treedffe343bb99e11b26e7efcfadc2f87a61612ca03 /src-vue/src/components/PlayButton.vue
parente0aad4f931a57aa7621d4dc7e0a1c1e54170146e (diff)
downloadFlightCore-b09138a7f97559f2c59d240f882f16ec08d4934c.tar.gz
FlightCore-b09138a7f97559f2c59d240f882f16ec08d4934c.zip
fix: Do not show install button if TF|2 not found
Instead show a button saying that Titanfall2 was not found
Diffstat (limited to 'src-vue/src/components/PlayButton.vue')
-rw-r--r--src-vue/src/components/PlayButton.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-vue/src/components/PlayButton.vue b/src-vue/src/components/PlayButton.vue
index b5541abe..e2ee2bcc 100644
--- a/src-vue/src/components/PlayButton.vue
+++ b/src-vue/src/components/PlayButton.vue
@@ -12,6 +12,8 @@ export default defineComponent({
}
switch(this.$store.state.northstar_state) {
+ case NorthstarState.GAME_NOT_FOUND:
+ return "Titanfall2 not found";
case NorthstarState.INSTALL:
return "Install";
case NorthstarState.INSTALLING: