core-3887 disable sharing link in details window when the item selected
is in trash.