Commit 1dc75d94 authored by Kevin Di Lallo's avatar Kevin Di Lallo
Browse files

removed unused code

parent 05a89281
Loading
Loading
Loading
Loading
+0 −33
Original line number Diff line number Diff line
@@ -810,39 +810,6 @@ class AppContainer extends Component {
    );
  }

  checkScenarioStatus() {
    // // Scenario pods
    // axios
    //   .get(`${basepathMonEngine}/states?long=true&type=scenario&sandbox=${this.props.sandbox}`)
    //   .then(res => {
    //     var scenarioPodsPhases = res.data.podStatus;

    //     // Add node ID
    //     if (this.props.exec && this.props.exec.table && this.props.exec.table.entries) {
    //       for (var i in scenarioPodsPhases) {
    //         var scenarioPod = scenarioPodsPhases[i];
    //         var elem = getElemByName(this.props.exec.table.entries, scenarioPod.name);
    //         scenarioPodsPhases[i].id = elem ? elem.id : '';
    //       }
    //     }
    //     this.props.changeScenarioPodsPhases(scenarioPodsPhases);
    //   })
    //   .catch(() => {
    //     this.props.changeScenarioPodsPhases([]);
    //   });

    // // Service maps
    // axios
    //   .get(`${basepathSandboxCtrl}/active/serviceMaps`)
    //   .then(res => {
    //     var serviceMaps = res.data;
    //     this.props.changeServiceMaps(serviceMaps);
    //   })
    //   .catch(() => {
    //     this.props.changeServiceMaps([]);
    //   });
  }

  syncUeButtons(mapUeList) {
    var nbHv = 0, nbLv = 0, nbZv = 0;
    var found = false;