diff --git a/src/components/AccountCreateUpdateForm/index.vue b/src/components/AccountCreateUpdateForm/index.vue index d59c3f8ca..454e369cd 100644 --- a/src/components/AccountCreateUpdateForm/index.vue +++ b/src/components/AccountCreateUpdateForm/index.vue @@ -218,17 +218,13 @@ export default { }) }, controlShowField() { - let privileged = ['privileged'] + const privileged = ['privileged'] let suFrom = ['su_from'] const filterSuFrom = ['database', 'device', 'cloud', 'web'] const asset = this?.asset || {} - if (asset?.type?.value === 'website') { - privileged = [] - } if (filterSuFrom.includes(asset?.category?.value)) { suFrom = [] } - return [...privileged, ...suFrom] }, confirm(form) {