Interviewing while Pregnant

Haidee • 30 yrs old- female
Hey all, here seeking so advice. I'm not really happy at my current place of work. I just got called for an interview at a place I have wanted to work in for a long time. I'm 18weeks, barely showing and definitely considering going to the interview. My biggest fear is maternity leave. If i stay at my current job i'm quarantee 12weeks leave (because I have been there a year) at this place I risk only having 6weeks of leave. 
Have you ever gone through this? Needless to say the second job will also pay more which I can definitely use.