compensationsDetailTabSwitch: "compensationsDetailTabSwitch" = 'compensationsDetailTabSwitch'

Method name for PRE compensationsDetailTabSwitchPre and POST compensationsDetailTabSwitch

This method is activated on the compensation plan detail page at /#/sc/compensation-plans/<compensationPlanId> when a user switches between tabs, such as transitioning from the Header tab to the Items tab.

Additional Properties:

  • tabName: Returns the name of the tab to which user has switched.
export const compensationsDetailTabSwitch = async ({ api, tabName, compensationPlanAPI }) => {
// TODO: Add your code
return;
}