fix: version check on dev env in connectors (#102)
* fix: version check on dev env in connectors * chore: bump version
This commit is contained in:
@@ -160,10 +160,11 @@ const isDisableCacheSupported = computed(() => {
|
||||
if (nonSharpApps.includes(appName.toLowerCase())) return false
|
||||
|
||||
// always show in dev environments
|
||||
if (version.includes('dev') || version.includes('local')) return true
|
||||
if (version.includes('dev') || version.includes('local') || version.includes('1.0.0'))
|
||||
return true
|
||||
|
||||
// for sharp connectors, check if version is >= 3.18.0
|
||||
const targetVersion = '3.18.0'
|
||||
const targetVersion = '3.19.0'
|
||||
return (
|
||||
version.localeCompare(targetVersion, undefined, {
|
||||
numeric: true,
|
||||
|
||||
Reference in New Issue
Block a user