Skip to content

Commit

Permalink
fix: fix type issue in releaseName parsing (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteyou authored Aug 23, 2022
1 parent 24d5668 commit 14f6799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/panels/Machine/SystemPanelHost.vue
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export default class SystemPanelHost extends Mixins(BaseMixin) {
}
get releaseName() {
let name = this.hostStats.release_info?.name ?? null
let name = this.hostStats.release_info?.name ?? ''
if (name.startsWith('#')) return this.hostStats.release_info?.id ?? null
if (name.startsWith('0.')) return null
Expand Down

0 comments on commit 14f6799

Please sign in to comment.