Skip to content

Commit

Permalink
Fix hardware support check
Browse files Browse the repository at this point in the history
  • Loading branch information
sGerli committed Sep 6, 2020
1 parent 92701fc commit 92b9ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/pages/widgets/GetAppButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default {
this.add_app()
},
check_supported () {
this.hardwareSupported = this.app.compatibility && this.app.compatibility[this.$store.state.userParameters.hardware] && this.app.compatibility[this.$store.state.userParameters.hardware].supported === true
this.hardwareSupported = this.$store.state.userParameters.hardware === 'all' || (this.app.compatibility && this.app.compatibility[this.$store.state.userParameters.hardware] !== undefined && this.app.compatibility[this.$store.state.userParameters.hardware].supported === true)
this.platformSupported = this.$store.state.userParameters.platform === 'all' || this.app.compatibility[this.$store.state.userParameters.platform].supported
},
create_permissions () {
Expand Down

0 comments on commit 92b9ac1

Please sign in to comment.