Skip to content

Commit

Permalink
Move custom actions to the start of the buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
opudrovs committed Oct 23, 2023
1 parent 3fe6c70 commit 8b79682
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ui/components/SyncActions/SyncControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ const SyncControls = ({

return (
<Flex start className={className}>
{customActions && (
<>
<Spacer padding="xxs" />
<CustomActions actions={customActions} />
</>
)}
<Button
className="sync-icon-button"
variant="text"
Expand Down Expand Up @@ -158,12 +164,6 @@ const SyncControls = ({
</IconButton>
</div>
</Tooltip>
{customActions && (
<>
<Spacer padding="xxs" />
<CustomActions actions={customActions} />
</>
)}
</Flex>
);
};
Expand Down

0 comments on commit 8b79682

Please sign in to comment.