Can have contact with newborn after flu vaccine?

Ra
My friend is getting the flu vaccine on Thursday morning and is wanting to come and visit my 5 week old baby right after. Is this allowed? Could the drug be passed onto my baby?