Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
remove open target call for personal section header
  • Loading branch information
sid597 committed Oct 19, 2025
commit 3439b0c299d6a77a034d4cd9f5bd8c8690a73cff
9 changes: 6 additions & 3 deletions apps/roam/src/components/LeftSidebarView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,9 @@ const PersonalSectionItem = ({
<div className="flex w-full items-center justify-between">
<div
className="flex items-center"
onClick={(e: React.MouseEvent) => {
onClick={() => {
if ((section.children?.length || 0) > 0) {
handleChevronClick();
} else {
void openTarget(e, section.text);
}
}}
>
Expand Down Expand Up @@ -574,6 +572,11 @@ const FavouritesPopover = ({ onloadArgs }: { onloadArgs: OnloadArgs }) => {
const LeftSidebarView = ({ onloadArgs }: { onloadArgs: OnloadArgs }) => {
const initialConfig = useConfig();
const [config, setConfig] = useState(initialConfig);

useEffect(() => {
setConfig(initialConfig);
}, [initialConfig]);

return (
<>
<FavouritesPopover onloadArgs={onloadArgs} />
Expand Down