Skip to content

Commit

Permalink
fix: adhoc and playbook detail page display many '-'
Browse files Browse the repository at this point in the history
  • Loading branch information
w940853815 authored and ibuler committed Nov 22, 2024
1 parent 0ad4945 commit a2e964d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/views/ops/Template/Adhoc/AdhocDetail/AdhocDetail.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<el-row :gutter="20">
<el-col :md="16" :sm="24">
<AutoDetailCard :fields="detailFields" :object="object" :url="url" />
<AutoDetailCard :excludes="excludes" :object="object" :url="url" />
</el-col>
</el-row>
</template>
Expand All @@ -21,7 +21,8 @@ export default {
},
data() {
return {
url: `/api/v1/ops/adhocs/${this.object.id}/`
url: `/api/v1/ops/adhocs/${this.object.id}/`,
excludes: ['variable']
}
},
computed: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default {
return {
url: `/api/v1/ops/playbooks/${this.object.id}/`,
excludes: [
'path', 'create_method', 'vcs_url'
'variable', 'path', 'create_method', 'vcs_url'
]
}
},
Expand Down

0 comments on commit a2e964d

Please sign in to comment.