In the wix documentation there is information that the onClick event does not work when calling the getCurrentItem function. He seeks only the first item. So, the solution for your case is as follows:
exportasyncfunction pickupButton_click ( event ){ let $item = $w . at ( event . context ); console . log ( $item ( " #dataset1 " ). getCurrentItem ());