From 3ec24de2e2ce2dd5d6a652f8c3122cb1149281ad Mon Sep 17 00:00:00 2001 From: stian Date: Thu, 23 May 2019 19:30:11 +0000 Subject: [PATCH] Login bugfix. Refs LUC-1 (#1) --- webui/src/Components/Group.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/src/Components/Group.jsx b/webui/src/Components/Group.jsx index b1b1f76..9cdccd1 100644 --- a/webui/src/Components/Group.jsx +++ b/webui/src/Components/Group.jsx @@ -40,7 +40,7 @@ function Group({id, name, permissions}) { } function iCan(name) { - if (permissions === null) { + if (permissions === null || user === null) { return false; }