Browse Source

feat(nc-gui): show current version even for beta

pull/4601/head
Wing-Kam Wong 2 years ago
parent
commit
4bd9289e52
  1. 2
      packages/nc-gui/components/general/ReleaseInfo.vue

2
packages/nc-gui/components/general/ReleaseInfo.vue

@ -25,7 +25,7 @@ const releaseAlert = computed({
async function fetchReleaseInfo() {
try {
const versionInfo = await $api.utils.appVersion()
if (versionInfo && versionInfo.releaseVersion && versionInfo.currentVersion && !/[^0-9.]/.test(versionInfo.currentVersion)) {
if (versionInfo && versionInfo.releaseVersion && versionInfo.currentVersion) {
currentVersion.value = versionInfo.currentVersion
latestRelease.value = versionInfo.releaseVersion
} else {

Loading…
Cancel
Save