Browse Source

fix: remove unnecessary code

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/2686/head
mertmit 2 years ago
parent
commit
bf76480c51
  1. 2
      packages/nc-gui/plugins/projectLoader.js

2
packages/nc-gui/plugins/projectLoader.js

@ -69,7 +69,7 @@ export default async({ store, redirect, $axios, $toast, $api, route }) => {
versionInfo.currentVersion && versionInfo.currentVersion &&
!(/[^0-9.]/.test(versionInfo.currentVersion))) { !(/[^0-9.]/.test(versionInfo.currentVersion))) {
store.commit('app/MutCurrentVersion', versionInfo.currentVersion) store.commit('app/MutCurrentVersion', versionInfo.currentVersion)
store.commit('app/MutLatestRelease', versionInfo.releaseVersion || null) store.commit('app/MutLatestRelease', versionInfo.releaseVersion)
} else { } else {
store.commit('app/MutCurrentVersion', null) store.commit('app/MutCurrentVersion', null)
store.commit('app/MutLatestRelease', null) store.commit('app/MutLatestRelease', null)

Loading…
Cancel
Save