This commit is contained in:
Timothy Jaeryang Baek
2026-03-11 15:35:49 -05:00
parent 7ea1e9cbd0
commit 4a8f995c3f
2 changed files with 3 additions and 1 deletions
@@ -57,6 +57,7 @@
bind:groupIds bind:groupIds
includeGroups={true} includeGroups={true}
includeUsers={shareUsers} includeUsers={shareUsers}
includeSessionUser={true}
/> />
</div> </div>
@@ -21,6 +21,7 @@
export let includeGroups = true; export let includeGroups = true;
export let includeUsers = true; export let includeUsers = true;
export let pagination = false; export let pagination = false;
export let includeSessionUser = false;
export let groupIds = []; export let groupIds = [];
export let userIds = []; export let userIds = [];
@@ -245,7 +246,7 @@
<div> <div>
{#each users as user, userIdx (user.id)} {#each users as user, userIdx (user.id)}
{#if user?.id !== $_user?.id} {#if includeSessionUser || user?.id !== $_user?.id}
<button <button
class=" dark:border-gray-850 text-xs flex items-center justify-between w-full" class=" dark:border-gray-850 text-xs flex items-center justify-between w-full"
type="button" type="button"