expectError(teamsTabView,"Your request could not be completed due to a server problem. Reload the page and try again. If the issue persists, click the Help tab to report the problem.");
TeamUtils.showMessage(gettext("Your request could not be completed. Reload the page and try again."));
}
elseif(xhr.status===500){
TeamUtils.showMessage(gettext("Your request could not be completed due to a server problem. Reload the page and try again. If the issue persists, click the Help tab to report the problem."));
}
});
// Navigate to the default page if there is no history:
// 1. If the user belongs to at least one team, jump to the "My Teams" page