From aa8dfdea42df4ce86b6db73350631520d10bc046 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Mon, 5 Dec 2022 18:22:53 +0800 Subject: [PATCH] feat(nc-gui): disable release info if the version is beta --- packages/nc-gui/components/general/ReleaseInfo.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/nc-gui/components/general/ReleaseInfo.vue b/packages/nc-gui/components/general/ReleaseInfo.vue index 14d9a3a595..bbc12007a3 100644 --- a/packages/nc-gui/components/general/ReleaseInfo.vue +++ b/packages/nc-gui/components/general/ReleaseInfo.vue @@ -7,6 +7,9 @@ const { currentVersion, latestRelease, hiddenRelease } = useGlobal() const releaseAlert = computed({ get() { + if (currentVersion.value?.includes('-beta.') || latestRelease.value?.includes('-beta.')) { + return false + } return ( currentVersion.value && latestRelease.value &&