Skip to content

Commit 3264ef3

Browse files
ymh6315431minghao.yang
andauthored
feat(application_spaces): Remove tooltip for env limit and simplify button display logic (#1249)
* Draft MR * feat(application_spaces): Remove tooltip for env limit and simplify button display logic --------- Co-authored-by: minghao.yang <[email protected]>
1 parent 4db2a69 commit 3264ef3

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

frontend/src/components/application_spaces/ApplicationSpaceEnvEditor.vue

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,7 @@
66
>
77
{{ $t('application_spaces.env.title') }}
88
</div>
9-
<el-tooltip
10-
v-if="envList.length >= 5"
11-
:content="$t('application_spaces.env.placeholder')"
12-
placement="top"
13-
>
14-
<div class="flex gap-1 btn btn-link-color btn-sm text-gray-400 cursor-not-allowed">
15-
<SvgIcon name="space-env-plus" />{{
16-
$t('application_spaces.env.addEnv')
17-
}}
18-
</div>
19-
</el-tooltip>
20-
219
<div
22-
v-else
2310
class="flex gap-1 btn btn-link-color btn-sm"
2411
@click="openAdd"
2512
>

0 commit comments

Comments
 (0)