renderTab()

in components/src/base-configuration/base-configuration.js [254:278]


  renderTab(reportWithSettings) {
    const {EditReportForm} = this.props;

    const {
      currentUser
    } = this.state;

    return (
      <div>
        <NoEditPermissionsWarning
          report={reportWithSettings}
          onChangeReport={this.changeReport}
        />
        <EditReportForm
          report={reportWithSettings}
          onReportSettingsChange={this.onReportSettingsChange}
          onValidStateChange={this.onReportValidStatusChange}
          disabled={!reportWithSettings.editable}
          currentUser={currentUser}
          fetchYouTrack={fetcher().fetchYouTrack}
          fetchHub={fetcher().fetchHub}
        />
      </div>
    );
  }