The main ingredient is the salad.
Even just following normal grammar, ''pasta salad'' clearly makes the ''pasta'' the descriptive to the main object which is the salad. >_>
It's like saying a mushroom pizza is a mushroom dish, or a mushroom risotto is a mushroom dish. Clearly, the mushroom is...