From fa5f9d7764fb670dd6873492e299881807c57bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Poussard?= <tpoussard@neogeo.fr> Date: Thu, 27 Jan 2022 17:35:05 +0100 Subject: [PATCH] forbid access to my account in shared-project mode --- src/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 35f6b581..9aecfde0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -145,8 +145,8 @@ <div class="desktop flex push-right-desktop"> <router-link v-if="user" - :to="{name: 'my_account'}" - class="item" + :to="{name: isSharedProject ? '' : 'my_account'}" + :class="['item', {disable: isSharedProject}]" > {{ userFullname || user.username || "Utilisateur inconnu" }} </router-link> -- GitLab