Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-11-04 10:32:22 +0300
committerGitHub <noreply@github.com>2021-11-04 10:32:22 +0300
commit7bf93825757c78b4af71ffd5ebc6038abd8f4646 (patch)
treec61ff452fec99c1de4554eb91a78b730b4467d92 /apps/settings/src/components/PersonalInfo/HeadlineSection/HeadlineSection.vue
parent42cafb9d1917601bae21855b929ca9b6fdc327d5 (diff)
parent19c62d051f8f007212a3846e8db20f41683d3c7c (diff)
Merge pull request #29482 from nextcloud/feat/revamp-profile-visibility-sectionv23.0.0beta3
Diffstat (limited to 'apps/settings/src/components/PersonalInfo/HeadlineSection/HeadlineSection.vue')
-rw-r--r--apps/settings/src/components/PersonalInfo/HeadlineSection/HeadlineSection.vue12
1 files changed, 1 insertions, 11 deletions
diff --git a/apps/settings/src/components/PersonalInfo/HeadlineSection/HeadlineSection.vue b/apps/settings/src/components/PersonalInfo/HeadlineSection/HeadlineSection.vue
index 96d5ade1ce6..0eb83be535c 100644
--- a/apps/settings/src/components/PersonalInfo/HeadlineSection/HeadlineSection.vue
+++ b/apps/settings/src/components/PersonalInfo/HeadlineSection/HeadlineSection.vue
@@ -30,11 +30,6 @@
<Headline
:headline.sync="primaryHeadline.value"
:scope.sync="primaryHeadline.scope" />
-
- <VisibilityDropdown
- :param-id="accountPropertyId"
- :display-id="accountProperty"
- :visibility.sync="visibility" />
</section>
</template>
@@ -43,12 +38,10 @@ import { loadState } from '@nextcloud/initial-state'
import Headline from './Headline'
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 { headlineMap: { primaryHeadline } } = loadState('settings', 'personalInfoParameters', {})
-const { profileConfig: { headline: { visibility } } } = loadState('settings', 'profileParameters', {})
export default {
name: 'HeadlineSection',
@@ -56,15 +49,12 @@ export default {
components: {
Headline,
HeaderBar,
- VisibilityDropdown,
},
data() {
return {
accountProperty: ACCOUNT_PROPERTY_READABLE_ENUM.HEADLINE,
- accountPropertyId: ACCOUNT_PROPERTY_ENUM.HEADLINE,
primaryHeadline,
- visibility,
}
},
}