Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
d77657f0
"...model/git@developer.sourcefind.cn:OpenDAS/megatron-lm.git" did not exist on "80389ef6e28cfe6cb85fe98e5313d6876c4391e4"
Commit
d77657f0
authored
May 26, 2024
by
Timothy J. Baek
Browse files
refac: only show banners in landing
parent
3a737af1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+1
-1
No files found.
src/lib/components/chat/Chat.svelte
View file @
d77657f0
...
@@ -1007,7 +1007,7 @@
...
@@ -1007,7 +1007,7 @@
{initNewChat}
{initNewChat}
/>
/>
{#if $banners.length > 0}
{#if $banners.length > 0
&& !$chatId
}
<div class="absolute top-16 w-full {$showSidebar ? '
md
:
max
-
w
-[
calc
(
100
%-
260
px
)]
' : ''}">
<div class="absolute top-16 w-full {$showSidebar ? '
md
:
max
-
w
-[
calc
(
100
%-
260
px
)]
' : ''}">
<div class=" flex flex-col gap-1 w-full">
<div class=" flex flex-col gap-1 w-full">
{#each $banners.filter( (b) => (b.dismissible ? !JSON.parse(localStorage.getItem('
dismissedBannerIds
') ?? '
[]
').includes(b.id) : true) ) as banner}
{#each $banners.filter( (b) => (b.dismissible ? !JSON.parse(localStorage.getItem('
dismissedBannerIds
') ?? '
[]
').includes(b.id) : true) ) as banner}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment