diff --git a/client/src/components/Entities.jsx b/client/src/components/Entities.jsx
index 152e97df..2ff6e8fd 100644
--- a/client/src/components/Entities.jsx
+++ b/client/src/components/Entities.jsx
@@ -38,6 +38,7 @@ export const Entities = ({
newEntityPath,
newEntityFunc,
defaultSort,
+ rowClassNameResolver,
searchAutoFocus = false,
busy = false
}) => {
@@ -145,8 +146,9 @@ export const Entities = ({
}
const entityRow = (entity, index) => {
+ const additionalClassName = isEmpty(rowClassNameResolver) ? "" : rowClassNameResolver(entity);
return
+ className={`${typeof rowLinkMapper === "function" ? "clickable" : ""} ${onHover ? "hoverable" : ""} ${additionalClassName}`}>
{columns.map((column, i) =>
(column.key !== "check" && !column.hasLink) ?
diff --git a/client/src/components/Entities.scss b/client/src/components/Entities.scss
index 1fe23ada..63c2a980 100644
--- a/client/src/components/Entities.scss
+++ b/client/src/components/Entities.scss
@@ -184,6 +184,10 @@
cursor: pointer;
}
+ &.multi-role {
+ color: var(--sds--color--green--500)
+ }
+
.action-icons-container {
display: flex;
align-items: center;
@@ -252,6 +256,12 @@
height: auto;
margin-right: 5px;
}
+
+ svg.multi-role {
+ height: 36px;
+ width: auto;
+ margin-left: 15px;
+ }
}
.sds--chips span {
diff --git a/client/src/icons/multi-role.svg b/client/src/icons/multi-role.svg
index b8322143..feafbf55 100644
--- a/client/src/icons/multi-role.svg
+++ b/client/src/icons/multi-role.svg
@@ -1,4 +1,4 @@
- |