- Project:
- <SelectOption
- options={projects}
- value={currentValue}
- defaultValue={currentValue}
- onChange={props.onSelectProject}
- className="projectSelect" />
+ {
+ hasProjects ? 'Project:' : 'No Projects Assigned'
+ }
+ {
+ hasProjects ?
+ <SelectOption
+ options={projects}
+ value={currentValue}
+ defaultValue={currentValue}
+ onChange={props.onSelectProject}
+ className="projectSelect" />
+ : null
+ }