Skip to content

Commit 068e110

Browse files
bernardodemarcodhslove
authored andcommitted
define the limit of projects through the UI (apache#10652)
1 parent 1201e8c commit 068e110

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/components/view/ResourceLimitTab.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
>
2828
<div v-for="(item, index) in dataResource" :key="index">
2929
<a-form-item
30-
v-if="item.resourcetypename !== 'project'"
30+
v-if="item.resourcetypename !== 'project' || !$route.path.startsWith('/project')"
3131
:v-bind="item.resourcetypename"
3232
:label="$t('label.max' + (item.resourcetypename ? item.resourcetypename.replace('_', '') : '')) + (item.tag ? ' [' + item.tag + ']': '')"
3333
:name="item.key"

0 commit comments

Comments
 (0)