Skip to content

Commit

Permalink
perf:优化插件管理菜单默认插件查询 TencentBlueKing#11142
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 22356
  • Loading branch information
useryuyu committed Oct 30, 2024
1 parent 6b1e8fa commit 5b881ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/frontend/devops-pipeline/src/views/list/atomManage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,7 @@
let des = this.$t('atomManage.installedAt')
if (row.default) des = this.$t('atomManage.createdAt')
if (row.installer === 'system') {
const info = this.$t('atomManage.systemPlugin')
return info
return this.$t('atomManage.systemPlugin')
}
return `${row.installer} ${des} ${row.installTime}`
},
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/locale/pipeline/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
"all": "All",
"installedAt": "Installed at",
"createdAt": "Created at",
"systemPlugin": "system plugin"
"systemPlugin": "System plugin"
},
"settings": {
"baseInfo": "Basic Information",
Expand Down

0 comments on commit 5b881ba

Please sign in to comment.