Skip to content

Commit

Permalink
#392: correctly set name on dialog button again
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas committed Jan 5, 2025
1 parent 18d3847 commit 1b34298
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions viewer/components/DialogButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const DialogButton=(props)=>{
<button
{...forward}
{...add}
name={name}
onClick={(ev)=>{
if (! onClick || close) dialogContext.closeDialog();
if (onClick) onClick(ev);
Expand Down

0 comments on commit 1b34298

Please sign in to comment.