Burned control board

My Dishwasher stopped working and I could smell some burning so I took the door off and found the attached.

The burned connectors on the left look bad. I’m assuming I will need a new control board, will I also need to replace the harness-type thing there?

Here are the images

Kitechnaid control board

Thanks in advance!

If you don’t fix the wiring connector, it will burn up the same connection on your new board.

Electrical connections need to be clean and tight.

Thanks for the reply. I’m also pretty curious why this would happen. In the first place.

I run the dishwasher and the disposal on a single 20a circuit. My electrician said that this wasn’t a problem but I’m starting to question that.

Thanks