aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/ProfileVisibilitySection.vue
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-08-25 23:40:18 +0200
committerGitHub <noreply@github.com>2022-08-25 23:40:18 +0200
commit38d0419f14ad70dbd82ef18946846b8ce3ea1682 (patch)
treef49f331175d7487f1e33faa972350b1ec459e249 /apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/ProfileVisibilitySection.vue
parent696a48ae975d7f9cf1ea80d35e6d93c103daa7c3 (diff)
parent09f6eb5e58b4e0e3880d5e454331eb53e6d43eab (diff)
downloadnextcloud-server-38d0419f14ad70dbd82ef18946846b8ce3ea1682.tar.gz
nextcloud-server-38d0419f14ad70dbd82ef18946846b8ce3ea1682.zip
Merge pull request #33217 from nextcloud/enh/27869/twitter
Remake Twitter handle saving with Vue and modularize account property components
Diffstat (limited to 'apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/ProfileVisibilitySection.vue')
-rw-r--r--apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/ProfileVisibilitySection.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/ProfileVisibilitySection.vue b/apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/ProfileVisibilitySection.vue
index 16a46fee969..eab49f11f49 100644
--- a/apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/ProfileVisibilitySection.vue
+++ b/apps/settings/src/components/PersonalInfo/ProfileVisibilitySection/ProfileVisibilitySection.vue
@@ -24,7 +24,7 @@
<!-- TODO remove this inline margin placeholder once the settings layout is updated -->
<section id="profile-visibility"
:style="{ marginLeft }">
- <HeaderBar :account-property="heading" />
+ <HeaderBar :readable="heading" />
<em :class="{ disabled }">
{{ t('settings', 'The more restrictive setting of either visibility or scope is respected on your Profile. For example, if visibility is set to "Show to everyone" and scope is set to "Private", "Private" is respected.') }}
@@ -47,9 +47,9 @@
import { loadState } from '@nextcloud/initial-state'
import { subscribe, unsubscribe } from '@nextcloud/event-bus'
-import HeaderBar from '../shared/HeaderBar'
-import VisibilityDropdown from './VisibilityDropdown'
-import { PROFILE_READABLE_ENUM } from '../../../constants/AccountPropertyConstants'
+import HeaderBar from '../shared/HeaderBar.vue'
+import VisibilityDropdown from './VisibilityDropdown.vue'
+import { PROFILE_READABLE_ENUM } from '../../../constants/AccountPropertyConstants.js'
const { profileConfig } = loadState('settings', 'profileParameters', {})
const { profileEnabled } = loadState('settings', 'personalInfoParameters', false)