When using the ternary operator, keep the comparison positive so it's easier to reason:

    return this.props.model.get("tasksRunning") == null ?
      "-" :
      this.props.model.get("tasksRunning");