added the action for components nav-tabs