Yes, ?Janet? wanted to be a Starship Captain, and women are hopelessly unable to perform that noble function, so she was rejected and it drove her nuts.
That was the most sexist of all the Star Trek shows, although Uhura's uniforms (and the blonde in the first year, a definite favorite with my brother and his male friends) maintained a consistency in that area. Libs were every bit as sexist as conservatives, perhaps more so in some ways, during those years.
Dr. Janice Lester ... and what was with that horrible pink-and-black outfit she was wearing? ... it's AWFUL!!! (to semi-quote the guy from "Airplane!") ...
and they let her go at the end? ... with her current boyfriend? ... after they wiped out the staff on the planet they were working on? ... aye carumba ...
True on all points. I think the least sexist episode of the original series is the orginal Star Trek pilot, the one with Captain Pike in charge.