Part Tab Problem

Hi,

How can I change to if I choose different type in part and the tab will change to different?

like if I choose assgmbly, the milestones tab will not show.