From 0594b1b742ca6b5fc81af01e4ccd29c7436bfc89 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Tue, 23 Aug 2022 23:22:50 +0200 Subject: [PATCH] fix: fix type issue in releaseName parsing Signed-off-by: Stefan Dej --- src/components/panels/Machine/SystemPanelHost.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/panels/Machine/SystemPanelHost.vue b/src/components/panels/Machine/SystemPanelHost.vue index 7ccddc699..cf78f5c99 100644 --- a/src/components/panels/Machine/SystemPanelHost.vue +++ b/src/components/panels/Machine/SystemPanelHost.vue @@ -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