Access Settings from Profile as Owner -> link was already present, but text was misleading (corrected), removed eslint exception

This commit is contained in:
Ulf Gebhardt 2019-04-09 13:24:00 +02:00
parent cece32f55d
commit 5c540b618e
No known key found for this signature in database
GPG Key ID: 44C888923CC8E7F3

View File

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