That is completely unacceptable.
Corporations have more than enough power already. We do not also need to allow them to dictate the political views of their employees.
> Based on that alone, beliefs totally aside, she was clearly unfit for the role.
Correct. The role does not fit anyone willing to speak out about issues when they see something wrong or have the integrity to refuse to recant their true beliefs to keep their job.