diff options
Diffstat (limited to 'apps/settings/src/components/PersonalInfo/shared/FederationControl.vue')
-rw-r--r-- | apps/settings/src/components/PersonalInfo/shared/FederationControl.vue | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue b/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue index 76322f5c7db..010cb325e4b 100644 --- a/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue +++ b/apps/settings/src/components/PersonalInfo/shared/FederationControl.vue @@ -46,7 +46,13 @@ import { showError } from '@nextcloud/dialogs' import FederationControlAction from './FederationControlAction' -import { ACCOUNT_PROPERTY_READABLE_ENUM, PROPERTY_READABLE_KEYS_ENUM, PROPERTY_READABLE_SUPPORTED_SCOPES_ENUM, SCOPE_ENUM, SCOPE_PROPERTY_ENUM } from '../../../constants/AccountPropertyConstants' +import { + ACCOUNT_PROPERTY_READABLE_ENUM, + PROPERTY_READABLE_KEYS_ENUM, + PROPERTY_READABLE_SUPPORTED_SCOPES_ENUM, + SCOPE_ENUM, SCOPE_PROPERTY_ENUM, + UNPUBLISHED_READABLE_PROPERTIES, +} from '../../../constants/AccountPropertyConstants' import { savePrimaryAccountPropertyScope } from '../../../service/PersonalInfo/PersonalInfoService' const { lookupServerUploadEnabled } = loadState('settings', 'accountParameters', {}) @@ -108,7 +114,7 @@ export default { }, supportedScopes() { - if (lookupServerUploadEnabled) { + if (lookupServerUploadEnabled && !UNPUBLISHED_READABLE_PROPERTIES.includes(this.accountProperty)) { return [ ...PROPERTY_READABLE_SUPPORTED_SCOPES_ENUM[this.accountProperty], SCOPE_ENUM.FEDERATED, |