_onTabChanged(tabIndex) {
    this.tabSelected = tabIndex;
    if(tabIndex == 0) {
      // show users projects / projects where the user is a member of
      this.showProjects(false);
    } else {
      // show all projects
      this.showProjects(true);
    }
  }
/**
   * Gets called when the user switches the current tab. Depending on which tab is selected, "My projects" or
   * "All projects" are loaded.
   * @param tabIndex 0 = My Projects, 1 = All Projects
   * @private
   */
Gets called when the user switches the current tab. Depending on which tab is selected, "My projects" or
"All projects" are loaded.
@param tabIndex 0 = My Projects, 1 = All Projects
@private
Gets called when the user switches the current tab . Depending on which tab is selected " My projects " or " All projects " are loaded . @param tabIndex 0 = My Projects 1 = All Projects @private
_onTabChanged(tabIndex) {
    this.tabSelected = tabIndex;
    if(tabIndex == 0) {
      this.showProjects(false);
    } else {
      this.showProjects(true);
    }
  }
_onTabChanged ( tabIndex ) { this . tabSelected = tabIndex ; if ( tabIndex == 0 ) { this . showProjects ( false ) ; } else { this . showProjects ( true ) ; } }
Gets called when the user switches the current tab.
Gets called when the user switches the current tab .
// show users projects / projects where the user is a member of // show all projects