Anna got promoted not because she is competent, because Hank wants to fuck her.
So she is not qualified for the job from the beginning, wait what's the argument?
_______________________________________++++++++++++_______________________________________________
The Developer can do the next release based on Anna's qualifications... and then we all can bang our heads on the nearest solid object. Or..............
Since what Anna specializes in as an attorney really doesn't help the story, we can assume it's the part of the law where "people skills" are not required. It is why I guessed Anna specialized in contract law. As a contract attorney, all you need is the ability to write an ironclad contract or know the law well enough to break a contract; when it comes to people skills as a contract attorney, you can be dumb as a post.
Now should Anna be in her position? Likely not. The worst dressing down of a second lieutenant I accidently overheard that has stuck with me went like, "there are leaders of men, and you are not one of them." Understanding the inner workings of people and the ability to inspire and motivate them, that is leadership.
But as to this story, while Anna was pregnant, the office bent over backward to help her work remotely and did everything to encourage her return. Second, maybe Hank did want to get a taste of Anna, but there is no telling how a woman is going to come out of childbirth regarding her looks-- so Hank holding out hope to get Anna is a bit of a stretch.
I think we can put Anna's career to rest and focus on the main parts of the story.
Now if anyone wants me to suggest a Grant/Anna reconciliation scene, raise your hand...LOL!