diff --git a/ui/src/views/Settings/subpages/system.vue b/ui/src/views/Settings/subpages/system.vue index 623e3b88..9c92933f 100644 --- a/ui/src/views/Settings/subpages/system.vue +++ b/ui/src/views/Settings/subpages/system.vue @@ -443,7 +443,7 @@ export default { }); this.npmPackageName = pkg.data.name; - this.latestVersion = relatedVersions[0]; + this.latestVersion = relatedVersions[0].value || relatedVersions[0]; this.updateAvailable = compareVersions.compare(this.latestVersion, this.currentVersion, '>'); this.$watch('config', this.configWatcher, { deep: true }); @@ -451,7 +451,7 @@ export default { this.loading = false; this.loadingProgress = false; } catch (err) { - console.log(err.message); + console.log(err); this.$toast.error(err.message); } }, diff --git a/ui/src/widgets/status/widget.vue b/ui/src/widgets/status/widget.vue index 17ee40ba..e70eed30 100644 --- a/ui/src/widgets/status/widget.vue +++ b/ui/src/widgets/status/widget.vue @@ -114,7 +114,7 @@ export default { }); this.npmPackageName = pkg.data.name; - this.latestVersion = relatedVersions[0]; + this.latestVersion = relatedVersions[0].value || relatedVersions[0]; this.updateAvailable = compareVersions.compare(this.latestVersion, this.currentVersion, '>'); this.loading = false;