Skip to content

Commit

Permalink
🐛 🐛 App architecture support is not displayed correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghengxin committed Feb 22, 2023
1 parent 8ea6172 commit fda4f70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/components/Apps/AppPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,9 @@ export default {
return this.currentInstallAppError ? 'has-text-danger' : 'has-text-black'
},
unuseable() {
if (this.architectures.length === 0 || !this.arch) {
return false
}
return this.architectures.indexOf(this.arch) < 0
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export default {
deviceModel: "",
// Language Sets
languages: [
{lang: "ar-sa", name: "العربية"},
{lang: "ar-sa", name: "العربية"},
{lang: "de_de", name: "Deutsch"},
{lang: "en_us", name: "English"},
{lang: "es_es", name: "Español"},
Expand Down Expand Up @@ -655,7 +655,7 @@ export default {
this.$api.sys.hardwareInfo().then(res => {
if (res.data.success == 200) {
this.deviceModel = res.data.data.drive_model
localStorage.setItem('arch', res.data.data.arch || 'am64')
localStorage.setItem('arch', res.data.data.arch || "")
}
})
},
Expand Down

0 comments on commit fda4f70

Please sign in to comment.