From ac16345defdae627cf3208b8db40622cc2147998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Fri, 21 Jan 2022 21:11:06 +0100 Subject: [PATCH] Adjust comment --- webapp/plugins/i18n.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/plugins/i18n.js b/webapp/plugins/i18n.js index dbb31eb9e..643d9371c 100644 --- a/webapp/plugins/i18n.js +++ b/webapp/plugins/i18n.js @@ -30,7 +30,8 @@ export default ({ app, req, cookie, store }) => { } const isDifferent = newLocale !== currentLocale - if (isCookie && !isDifferent) { // cookie has to be set, otherwise Cypress test does not work + // cookie has to be set, otherwise Cypress test does not work + if (isCookie && !isDifferent) { return }