mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-25 22:44:13 +00:00
fix: Remove priority fields in ACL components
This commit is contained in:
@@ -18,16 +18,13 @@ export default {
|
||||
return {
|
||||
initial: {},
|
||||
fields: [
|
||||
[this.$t('Basic'), ['name', 'priority']],
|
||||
[this.$t('Basic'), ['name']],
|
||||
[this.$t('Users'), ['users']],
|
||||
[this.$t('ConnectMethod'), ['connect_methods']],
|
||||
[this.$t('Action'), ['action', 'reviewers']],
|
||||
[this.$t('Other'), ['is_active', 'comment']]
|
||||
],
|
||||
fieldsMeta: {
|
||||
priority: {
|
||||
rules: [rules.Required]
|
||||
},
|
||||
assets: assetJSONSelectMeta(this),
|
||||
users: userJSONSelectMeta(this, true),
|
||||
connect_methods: {
|
||||
|
||||
@@ -34,7 +34,7 @@ export default {
|
||||
key: this.$t('Reviewer'),
|
||||
value: this.object.reviewers.map(item => item.name).join(', ')
|
||||
},
|
||||
'priority', 'date_created', 'created_by', 'comment'
|
||||
'date_created', 'created_by', 'comment'
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -17,7 +17,7 @@ export default {
|
||||
columnsShow: {
|
||||
min: ['name', 'actions'],
|
||||
default: [
|
||||
'name', 'priority', 'is_active', 'comment', 'actions'
|
||||
'name', 'is_active', 'comment', 'actions'
|
||||
]
|
||||
},
|
||||
columnsMeta: {
|
||||
|
||||
Reference in New Issue
Block a user