Fix sharing via menu a second time

61fdd2eb refactored the code but failed to account for that the view will be reused

BUG: 490579

Merge request reports

Loading