Gallblader removed while pregnant?

Laura
My gallbladder has been giving me issues since after my second pregnancy now that I'm on my third pregnancy it's gotten to the point if I eat anything I'm getting an attack and leaving me in so much pain I can't even breath or move I just wanna curl in on myself and hope the pain goes away. I'm currently 27 weeks and wondering if anyone had to get their gallbladder removed while pregnant not really sure I can deal with this pain for another 13 weeks.