Well, it passed by 7 votes already, 218 to 1 by Democrats, you build enough of a majority so that one or two votes doesn't kill the bill.
Tell me, what can Pelosi do right now, now that the bill has passed the house several months ago before the endorsement? You complain about leadership, tell me what can she do right now to get it codified by the senate? She literally passed the bill to codify Roe and you can't even acknowledge that she got it done and instead want to complain about an endorsement months after she got the bill passed.