Skip to content

Commit

Permalink
style: 优化申请证书 acme 账户显示 (#5500)
Browse files Browse the repository at this point in the history
Refs #3580
  • Loading branch information
zhengkunwang223 committed Jun 19, 2024
1 parent f59bea2 commit 4460329
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
7 changes: 0 additions & 7 deletions frontend/src/utils/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,13 +505,6 @@ export async function copyText(content: string) {
}
}

export function getRuleType(ruleType: string) {
if (ruleType == '') {
return '';
}
return i18n.global.t(`xpack.waf.${ruleType}`);
}

export function getAction(action: string) {
if (action == '') {
return '';
Expand Down
12 changes: 2 additions & 10 deletions frontend/src/views/website/ssl/create/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,8 @@
:label="acme.email + ' [' + getAccountName(acme.type) + '] '"
:value="acme.id"
>
<el-row>
<el-col :span="11">
<span>{{ acme.email }}</span>
</el-col>
<el-col :span="11">
<span>
<el-tag type="success">{{ getAccountName(acme.type) }}</el-tag>
</span>
</el-col>
</el-row>
<span>{{ acme.email }}</span>
<el-tag type="success" class="ml-2">{{ getAccountName(acme.type) }}</el-tag>
</el-option>
</el-select>
</el-form-item>
Expand Down

0 comments on commit 4460329

Please sign in to comment.