Skip to content

Commit c27995c

Browse files
feat: limit
1 parent e6f9238 commit c27995c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/views/application-overview/xpack-component/XPackLimitDrawer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
{{ $t('views.applicationOverview.appInfo.LimitDialog.authenticationValue') }}
4646
</p>
4747
</el-radio>
48-
<el-form-item class="ml-24">
48+
<el-form-item class="ml-24" v-if="form.authentication_value.type === 'password'">
4949
<el-input
5050
class="authentication-append-input"
5151
v-model="form.authentication_value.password_value"
@@ -118,7 +118,7 @@
118118
>
119119
<el-switch size="small" v-model="form.white_active"></el-switch>
120120
</el-form-item>
121-
<el-form-item>
121+
<el-form-item v-if="form.white_active">
122122
<el-input
123123
v-model="form.white_list"
124124
:placeholder="$t('views.applicationOverview.appInfo.LimitDialog.whitelistPlaceholder')"

0 commit comments

Comments
 (0)