Merge pull request #4097 from jumpserver/pr@v4@fix_cloud_sync

fixed:Fixed an issue where resources were not displayed in cloud synchronization
This commit is contained in:
ZhaoJiSen
2024-06-24 15:24:17 +08:00
committed by GitHub

View File

@@ -131,7 +131,7 @@ export default {
},
methods: {
isDisabled(item) {
return item.edition.value === 'enterprise' && !this.hasValidLicense
return item.edition?.value === 'enterprise' && !this.hasValidLicense
},
capitalize(str) {
return str.charAt(0).toUpperCase() + str.slice(1)