mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 12:36:45 +00:00
Fix for image click events (#8071)
- Click event was not being passed correctly - Closes https://github.com/inventree/InvenTree/issues/8068
This commit is contained in:
parent
029df83878
commit
90a6ae3426
@ -41,8 +41,8 @@ export function ActionButton(props: ActionButtonProps) {
|
||||
aria-label={`action-button-${identifierString(
|
||||
props.tooltip ?? props.text ?? ''
|
||||
)}`}
|
||||
onClick={() => {
|
||||
props.onClick();
|
||||
onClick={(event: any) => {
|
||||
props.onClick(event);
|
||||
}}
|
||||
variant={props.variant ?? 'transparent'}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user