From be32a671fc6c814b52e99c998b8be698e3ef8cb4 Mon Sep 17 00:00:00 2001 From: Eliot Berriot <contact@eliotberriot.com> Date: Tue, 25 Feb 2020 17:26:39 +0100 Subject: [PATCH] Fixed broken tag search when anonymous --- front/src/store/auth.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/front/src/store/auth.js b/front/src/store/auth.js index a87d8ba782..49f8ddde54 100644 --- a/front/src/store/auth.js +++ b/front/src/store/auth.js @@ -22,7 +22,9 @@ export default { }, getters: { header: state => { - return 'JWT ' + state.token + if (state.token) { + return 'JWT ' + state.token + } } }, mutations: { -- GitLab