Make users and apps in group details page clickable

This commit is contained in:
Andrew Kingston 2022-08-04 11:11:44 +01:00
parent 206af376fd
commit df0c1df868
1 changed files with 9 additions and 2 deletions

View File

@ -224,9 +224,14 @@
<List>
{#if group?.users.length}
{#each group.users as user}
<ListItem title={user?.email} avatar>
<ListItem
title={user.email}
avatar
on:click={() => $goto(`../users/${user._id}`)}
hoverable
>
<Icon
on:click={() => removeUser(user?._id)}
on:click={() => removeUser(user._id)}
hoverable
size="S"
name="Close"
@ -252,6 +257,8 @@
title={app.name}
icon={app?.icon?.name || "Apps"}
iconBackground={app?.icon?.color || ""}
on:click={() => $goto(`../../overview/${app.devId}`)}
hoverable
>
<div class="title ">
<StatusLight