Gallstones/gallbladder attack while pregnant

Janet
So I just got back from a trip to the ER.  Diagnosed with a gallbladder attack and  gallstones, I have a history of gallstones but not while pregnant, and they said being pregnant can make the gallbladder act up even more.   They suggested to cut down on fatty foods, and if it happens again they would want to remove it even though I'm pregnant.   Anyone have experience with this?  Thank you.  Will be meeting with my Midwife on Friday to fill her in.  I'm 16 weeks preggo.