I believe the vaccine has not been showed to reduce transmission, it's been shown to reduce impact, i.e. she's less likely to die if someone visits her, so great for her, and her families, well-being.
If it reduces impact it also reduces impact of transmission because the patient has lower viral load. Masks have to same effect, although to a lesser degree (and obviously a different mode of operation).