"...resnet50_tensorflow.git" did not exist on "ce410585bfe0e7580ca41e9988169c9770c3d600"
Commit d77657f0 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac: only show banners in landing

parent 3a737af1
......@@ -1007,7 +1007,7 @@
{initNewChat}
/>
{#if $banners.length > 0}
{#if $banners.length > 0 && !$chatId}
<div class="absolute top-16 w-full {$showSidebar ? 'md:max-w-[calc(100%-260px)]' : ''}">
<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}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment