diff options
Diffstat (limited to 'apps/settings/src/components/PersonalInfo/RoleSection')
-rw-r--r-- | apps/settings/src/components/PersonalInfo/RoleSection/RoleSection.vue | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/apps/settings/src/components/PersonalInfo/RoleSection/RoleSection.vue b/apps/settings/src/components/PersonalInfo/RoleSection/RoleSection.vue index 62ddefece81..4bfaa6b0eb8 100644 --- a/apps/settings/src/components/PersonalInfo/RoleSection/RoleSection.vue +++ b/apps/settings/src/components/PersonalInfo/RoleSection/RoleSection.vue @@ -30,11 +30,6 @@ <Role :role.sync="primaryRole.value" :scope.sync="primaryRole.scope" /> - - <VisibilityDropdown - :param-id="accountPropertyId" - :display-id="accountProperty" - :visibility.sync="visibility" /> </section> </template> @@ -43,12 +38,10 @@ import { loadState } from '@nextcloud/initial-state' import Role from './Role' import HeaderBar from '../shared/HeaderBar' -import VisibilityDropdown from '../shared/VisibilityDropdown' -import { ACCOUNT_PROPERTY_ENUM, ACCOUNT_PROPERTY_READABLE_ENUM } from '../../../constants/AccountPropertyConstants' +import { ACCOUNT_PROPERTY_READABLE_ENUM } from '../../../constants/AccountPropertyConstants' const { roleMap: { primaryRole } } = loadState('settings', 'personalInfoParameters', {}) -const { profileConfig: { role: { visibility } } } = loadState('settings', 'profileParameters', {}) export default { name: 'RoleSection', @@ -56,15 +49,12 @@ export default { components: { Role, HeaderBar, - VisibilityDropdown, }, data() { return { accountProperty: ACCOUNT_PROPERTY_READABLE_ENUM.ROLE, - accountPropertyId: ACCOUNT_PROPERTY_ENUM.ROLE, primaryRole, - visibility, } }, } |