Merge pull request #443 from Human-Connection/2019/kw15/Access_Settings_from_Profile_as_Owner

2019/kw15/Access_Settings_from_Profile_as_Owner
This commit is contained in:
Ulf Gebhardt 2019-04-10 10:23:18 +02:00 committed by GitHub
commit ff86088260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,9 +111,8 @@ export default {
if (this.isOwner && this.resourceType === 'user') {
routes.push({
name: this.$t(`settings.data.name`),
// eslint-disable-next-line vue/no-side-effects-in-computed-properties
callback: () => this.$router.push('/settings'),
name: this.$t(`settings.name`),
path: '/settings',
icon: 'edit'
})
}