Browse Source

feat(nc-gui): disable release info if the version is beta

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

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

@ -7,6 +7,9 @@ const { currentVersion, latestRelease, hiddenRelease } = useGlobal()
const releaseAlert = computed({ const releaseAlert = computed({
get() { get() {
if (currentVersion.value?.includes('-beta.') || latestRelease.value?.includes('-beta.')) {
return false
}
return ( return (
currentVersion.value && currentVersion.value &&
latestRelease.value && latestRelease.value &&

Loading…
Cancel
Save