mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
refac
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
bind:groupIds
|
||||
includeGroups={true}
|
||||
includeUsers={shareUsers}
|
||||
includeSessionUser={true}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
export let includeGroups = true;
|
||||
export let includeUsers = true;
|
||||
export let pagination = false;
|
||||
export let includeSessionUser = false;
|
||||
|
||||
export let groupIds = [];
|
||||
export let userIds = [];
|
||||
@@ -245,7 +246,7 @@
|
||||
|
||||
<div>
|
||||
{#each users as user, userIdx (user.id)}
|
||||
{#if user?.id !== $_user?.id}
|
||||
{#if includeSessionUser || user?.id !== $_user?.id}
|
||||
<button
|
||||
class=" dark:border-gray-850 text-xs flex items-center justify-between w-full"
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user