Skip to content

Commit

Permalink
fix: duplicating a connection should use the source
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdjohnson committed Nov 11, 2024
1 parent 9b23720 commit aadbb55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const ConnectionPanel = observer(({ connection }: { connection: ConnectionViewMo
<button
type="button"
className="btn btn-outline w-full text-base-content/60 md:btn-ghost md:btn-sm hover:text-base-content md:mx-4 md:text-base-content/60"
onClick={() => connectionStore.duplicateConnection(connection)}
onClick={() => connectionStore.duplicateConnection(connection.source)}
disabled={isDirty}
>
Duplicate <Copy />
Expand Down

0 comments on commit aadbb55

Please sign in to comment.