This commit is contained in:
Timothy Jaeryang Baek 2025-11-27 07:33:33 -05:00
parent acccb9afdd
commit f1a7de94ba
2 changed files with 18 additions and 7 deletions

View file

@ -225,7 +225,24 @@
</script> </script>
<svelte:head> <svelte:head>
{#if channel?.type === 'dm'}
<title
>{channel?.name.trim() ||
channel?.users.reduce((a, e, i, arr) => {
if (e.id === $user?.id) {
return a;
}
if (a) {
return `${a}, ${e.name}`;
} else {
return e.name;
}
}, '')} • Open WebUI</title
>
{:else}
<title>#{channel?.name ?? 'Channel'} • Open WebUI</title> <title>#{channel?.name ?? 'Channel'} • Open WebUI</title>
{/if}
</svelte:head> </svelte:head>
<div <div

View file

@ -173,12 +173,6 @@
{/if} {/if}
</div> </div>
</button> </button>
<button type="button" class="px-2.5 py-2 cursor-pointer select-none">
<div class="flex gap-1.5 items-center">
{$i18n.t('MBR')}
</div>
</button>
</div> </div>
</div> </div>
<div class="w-full"> <div class="w-full">