From 5c540b618ec91a5d8dc1171aa707df3315a4aff7 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 9 Apr 2019 13:24:00 +0200 Subject: [PATCH] Access Settings from Profile as Owner -> link was already present, but text was misleading (corrected), removed eslint exception --- webapp/components/ContentMenu.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webapp/components/ContentMenu.vue b/webapp/components/ContentMenu.vue index abab7897d..5de2820da 100644 --- a/webapp/components/ContentMenu.vue +++ b/webapp/components/ContentMenu.vue @@ -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' }) }