render()

in src/content/components/BugList/BugList.js [261:284]


  render() {
    const { props } = this;
    if (props.visibleIfEmpty || this.filterResolved().length) {
      return (
        <React.Fragment>
          {props.title ? (
            <h3>
              <span
                style={{ cursor: props.titleTooltip ? "help" : null }}
                title={props.titleTooltip}>
                {props.title}
              </span>
            </h3>
          ) : null}
          {this.filterResolved().length || props.showHeaderIfEmpty ? (
            this.renderTable()
          ) : (
            <div className={styles.emptyState}>No bugs found.</div>
          )}
        </React.Fragment>
      );
    }
    return <></>;
  }