Skip to content

Commit b541d9c

Browse files
committed
fix(web): undo notice falls back to the footer while searching or when the list is empty
1 parent 15d3290 commit b541d9c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/web/src/components/Sidebar.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3261,7 +3261,9 @@ export default function Sidebar({ routeReveal }: { routeReveal: SidebarRouteReve
32613261
) : null}
32623262
</SidebarGroup>
32633263
</SidebarContent>
3264-
<SidebarChromeFooter />
3264+
<SidebarChromeFooter
3265+
showUndoNotice={isSearchingThreads || sidebarListItemsFresh.length === 0}
3266+
/>
32653267
</>
32663268
);
32673269
}

0 commit comments

Comments
 (0)