Make users and apps in group details page clickable
This commit is contained in:
parent
9ad23afc89
commit
3e788ab532
|
@ -224,9 +224,14 @@
|
||||||
<List>
|
<List>
|
||||||
{#if group?.users.length}
|
{#if group?.users.length}
|
||||||
{#each group.users as user}
|
{#each group.users as user}
|
||||||
<ListItem title={user?.email} avatar>
|
<ListItem
|
||||||
|
title={user.email}
|
||||||
|
avatar
|
||||||
|
on:click={() => $goto(`../users/${user._id}`)}
|
||||||
|
hoverable
|
||||||
|
>
|
||||||
<Icon
|
<Icon
|
||||||
on:click={() => removeUser(user?._id)}
|
on:click={() => removeUser(user._id)}
|
||||||
hoverable
|
hoverable
|
||||||
size="S"
|
size="S"
|
||||||
name="Close"
|
name="Close"
|
||||||
|
@ -252,6 +257,8 @@
|
||||||
title={app.name}
|
title={app.name}
|
||||||
icon={app?.icon?.name || "Apps"}
|
icon={app?.icon?.name || "Apps"}
|
||||||
iconBackground={app?.icon?.color || ""}
|
iconBackground={app?.icon?.color || ""}
|
||||||
|
on:click={() => $goto(`../../overview/${app.devId}`)}
|
||||||
|
hoverable
|
||||||
>
|
>
|
||||||
<div class="title ">
|
<div class="title ">
|
||||||
<StatusLight
|
<StatusLight
|
||||||
|
|
Loading…
Reference in New Issue