Skip to content

Commit

Permalink
Selection Navigator is now disabled when less than two nodes are sele…
Browse files Browse the repository at this point in the history
…cted -- #270
  • Loading branch information
chrtannus committed May 9, 2024
1 parent 7efa38d commit b78ac11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/components/network-editor/bottom-drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ export function BottomDrawer({ controller, open, leftDrawerOpen, isMobile, isTab
{open && (
<>
<SelectionNavigator
disabled={totalSelected === 0}
disabled={totalSelected < 2}
onPrevious={() => goToNewCurrentRow(-1)}
onNext={() => goToNewCurrentRow(1)}
/>
Expand Down

0 comments on commit b78ac11

Please sign in to comment.