From bd7f2d997edd47367cdafb4ea57311a8dc115779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 30 Sep 2021 11:51:26 +0200 Subject: [PATCH] fix link to edit in wopi --- .../AccompanyingCourseWorkEdit/components/AddEvaluation.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/AddEvaluation.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/AddEvaluation.vue index f05f9fca3..9dee7693a 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/AddEvaluation.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/AddEvaluation.vue @@ -109,7 +109,7 @@ export default { this.toggleEditEvaluation(); }, buildEditLink(storedObject) { - return `/fr/chill_wopi/edit/${storedObject.uuid}?returnPath=` + encodeURIComponent( + return `/edit/${storedObject.uuid}?returnPath=` + encodeURIComponent( window.location.pathname + window.location.search + window.location.hash); }, }