Some excerpts:

In total, 37 Democrats, 46 Republicans, and three Independents voted in favor of the bill.

Senator Tammy Baldwin (D-WI) led efforts to remove the anti-trans language from the NDAA by introducing Amendment 3332, which aimed to strike the discriminatory provisions. The amendment garnered support from 24 of her Senate colleagues. However, Democratic Majority Leader Chuck Schumer (D-NY) at some point requested the amendment be withdrawn, opting not to bring it to a vote unless certain of its passage.

Addendum:

Great work transgender NGO, a third of your trans equality champions are restricting transition. Lol.