What's so interesting to me about the whole Don/Ted/Peggy dynamic is that we were so happy for Peggy to have a boss, a man, in her life that appreciated her, was open to her ideas, gave her credit, and genuinely enjoyed her and her work. Ted was positioned, in simplified terms, all season as good - and Don bad. But in the end, being under the tutelage of a "good" man didn't help Peggy anymore than being under the "bad" man. In fact, while you can't fairly compare 7 years to 1.5(?) with Ted, she thrived better under the direction of a harsh, demanding, and many times demeaning boss.
And it also makes me realize what a gift it was for Don to never make any pass at Peggy because my god, that entire Ted/Peggy working relationship really amounts to nothing when you introduce sex into the equation. All of that work and collaboration went out the window, and will probably just leave an emotional scar upon Peggy, rather than the concrete tools Don gave her to create her future - such as power, money, a good job, and strength in the face of difficult people and situations.