Show nodes on right sidebar on app load (#892)
* fix: show nodes on right sidebar on app load * chore: update protobuf version to latest (#890) * chore(deps-dev): bump happy-dom from 19.0.2 to 20.0.0 (#891) Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 19.0.2 to 20.0.0. - [Release notes](https://github.com/capricorn86/happy-dom/releases) - [Commits](https://github.com/capricorn86/happy-dom/compare/v19.0.2...v20.0.0) --- updated-dependencies: - dependency-name: happy-dom dependency-version: 20.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update packages/web/src/core/stores/nodeDBStore/index.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Copilot
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
parent
94409dd8e1
commit
8f62fb7877
@@ -247,8 +247,7 @@ export const MessagesPage = () => {
|
||||
],
|
||||
);
|
||||
|
||||
const rightSidebar = useMemo(
|
||||
() => (
|
||||
const rightSidebar = (
|
||||
<SidebarSection
|
||||
label=""
|
||||
className="px-0 flex flex-col h-full overflow-y-auto"
|
||||
@@ -267,6 +266,7 @@ export const MessagesPage = () => {
|
||||
className={cn(
|
||||
"flex flex-col h-full flex-1 overflow-y-auto gap-2.5 pt-1 ",
|
||||
)}
|
||||
style={{ contentVisibility: "auto", containIntrinsicSize: "100px" }}
|
||||
>
|
||||
{filteredNodes()?.map((node) => (
|
||||
<SidebarButton
|
||||
@@ -293,17 +293,6 @@ export const MessagesPage = () => {
|
||||
))}
|
||||
</div>
|
||||
</SidebarSection>
|
||||
),
|
||||
[
|
||||
filteredNodes,
|
||||
searchTerm,
|
||||
numericChatId,
|
||||
chatType,
|
||||
navigateToChat,
|
||||
resetUnread,
|
||||
hasNodeError,
|
||||
t,
|
||||
],
|
||||
);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user