Elevated liver enzymes ?

Savannah

Im currently in the hospital at 34 weeks +2 due to threatened preterm labor. They said my cervix is super soft and babys head is right there. I've had both steroid shots, but yesterday they told me my liver enzymes are elevated. I've also noticed a consistent headache/migraine the last 4 days and just started seeing weird flashing lights occasionally. My blood pressure is also occasionally high during checks but not everytime. Has anyone gone threw something like this or is going threw this ? How did it go and what ended up happening. Wondering if they will end up inducing me or not.