define the limit of projects through the UI (#10652)

This commit is contained in:
Bernardo De Marco Gonçalves 2025-04-08 08:14:29 -03:00 committed by GitHub
parent d5ba39387b
commit e08f88f0ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
>
<div v-for="(item, index) in dataResource" :key="index">
<a-form-item
v-if="item.resourcetypename !== 'project'"
v-if="item.resourcetypename !== 'project' || !$route.path.startsWith('/project')"
:v-bind="item.resourcetypename"
:label="$t('label.max' + (item.resourcetypename ? item.resourcetypename.replace('_', '') : ''))"
:name="item.resourcetype"