From 5bdf2a0c48e0e388bffb53714b0410ebd3f8b8e7 Mon Sep 17 00:00:00 2001 From: Stian Aune Date: Thu, 7 Mar 2019 21:10:57 +0100 Subject: [PATCH] Rename groups and stuff. --- webui/src/Components/Group.jsx | 24 +++++++++---------- .../Modals/GroupPropertiesModal.jsx | 2 ++ webui/src/Helpers/groups.js | 8 +++++++ 3 files changed, 22 insertions(+), 12 deletions(-) diff --git a/webui/src/Components/Group.jsx b/webui/src/Components/Group.jsx index 554b0a0..c6182a6 100644 --- a/webui/src/Components/Group.jsx +++ b/webui/src/Components/Group.jsx @@ -57,19 +57,19 @@ function Group({id, name, permissions}) { {(iCan("manage") || iCan("write") || iCan("delete")) && ( - {iCan("manage") && ( - - )} - {" "} - {hasLights && iCan("write") && ( - - )} - {" "} - {iCan("delete") && (id > 0) && ( - - )} + {iCan("manage") && ( + + )} + {" "} + {hasLights && iCan("write") && ( + + )} + {" "} + {iCan("delete") && (id > 0) && ( + + )} - )} + )} {colorModal && (