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:
Diffstat (limited to 'apps/settings/src/components/PersonalInfo/OrganisationSection/OrganisationSection.vue')
-rw-r--r--apps/settings/src/components/PersonalInfo/OrganisationSection/OrganisationSection.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/settings/src/components/PersonalInfo/OrganisationSection/OrganisationSection.vue b/apps/settings/src/components/PersonalInfo/OrganisationSection/OrganisationSection.vue
index 2a0b93d552f..b436b2edd0b 100644
--- a/apps/settings/src/components/PersonalInfo/OrganisationSection/OrganisationSection.vue
+++ b/apps/settings/src/components/PersonalInfo/OrganisationSection/OrganisationSection.vue
@@ -24,10 +24,10 @@
<section>
<HeaderBar :account-property="accountProperty"
label-for="organisation"
- :scope.sync="primaryOrganisation.scope" />
+ :scope.sync="organisation.scope" />
- <Organisation :organisation.sync="primaryOrganisation.value"
- :scope.sync="primaryOrganisation.scope" />
+ <Organisation :organisation.sync="organisation.value"
+ :scope.sync="organisation.scope" />
</section>
</template>
@@ -39,7 +39,7 @@ import HeaderBar from '../shared/HeaderBar'
import { ACCOUNT_PROPERTY_READABLE_ENUM } from '../../../constants/AccountPropertyConstants'
-const { organisationMap: { primaryOrganisation } } = loadState('settings', 'personalInfoParameters', {})
+const { organisation } = loadState('settings', 'personalInfoParameters', {})
export default {
name: 'OrganisationSection',
@@ -52,7 +52,7 @@ export default {
data() {
return {
accountProperty: ACCOUNT_PROPERTY_READABLE_ENUM.ORGANISATION,
- primaryOrganisation,
+ organisation,
}
},
}