mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 13:25:20 +00:00
Compare commits
5 commits
1e95a6dd51
...
ce12e19203
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce12e19203 | ||
|
|
ae47101dc6 | ||
|
|
f787f2c8a3 | ||
|
|
bfe0280eb2 | ||
|
|
c5f9b89bc0 |
4 changed files with 5 additions and 5 deletions
|
|
@ -339,7 +339,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody class="">
|
<tbody class="">
|
||||||
{#each users as user, userIdx}
|
{#each users as user, userIdx (user.id)}
|
||||||
<tr class="bg-white dark:bg-gray-900 dark:border-gray-850 text-xs">
|
<tr class="bg-white dark:bg-gray-900 dark:border-gray-850 text-xs">
|
||||||
<td class="px-3 py-1 min-w-[7rem] w-28">
|
<td class="px-3 py-1 min-w-[7rem] w-28">
|
||||||
<button
|
<button
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
let filter = {};
|
let filter = {};
|
||||||
$: filter = {
|
$: filter = {
|
||||||
...(query ? { query } : {}),
|
...(query ? { query: query.slice(0, 500) } : {}),
|
||||||
...(orderBy ? { order_by: orderBy } : {}),
|
...(orderBy ? { order_by: orderBy } : {}),
|
||||||
...(direction ? { direction } : {})
|
...(direction ? { direction } : {})
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@
|
||||||
chatList = await getChatList(localStorage.token, page);
|
chatList = await getChatList(localStorage.token, page);
|
||||||
} else {
|
} else {
|
||||||
searchDebounceTimeout = setTimeout(async () => {
|
searchDebounceTimeout = setTimeout(async () => {
|
||||||
chatList = await getChatListBySearchText(localStorage.token, query, page);
|
chatList = await getChatListBySearchText(localStorage.token, query.slice(0, 500), page);
|
||||||
|
|
||||||
if ((chatList ?? []).length === 0) {
|
if ((chatList ?? []).length === 0) {
|
||||||
allChatsLoaded = true;
|
allChatsLoaded = true;
|
||||||
|
|
|
||||||
|
|
@ -242,11 +242,11 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class=" flex items-center gap-1 justify-between px-1.5">
|
<div class=" flex items-center gap-1 justify-between px-1.5">
|
||||||
<div class=" flex items-center gap-2">
|
<div class=" flex-1 min-w-0 flex items-center gap-2">
|
||||||
<div class=" text-sm font-medium line-clamp-1 capitalize">{item.name}</div>
|
<div class=" text-sm font-medium line-clamp-1 capitalize">{item.name}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div class="shrink-0">
|
||||||
<div class="text-xs text-gray-500">
|
<div class="text-xs text-gray-500">
|
||||||
<Tooltip
|
<Tooltip
|
||||||
content={item?.user?.email ?? $i18n.t('Deleted User')}
|
content={item?.user?.email ?? $i18n.t('Deleted User')}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue