Fix linting errors

pull/10616/head
Andrew Watkins 2016-11-07 15:51:27 -08:00
parent ba3a8b0d45
commit 6b773f0896
5 changed files with 16 additions and 16 deletions

View File

@ -44,10 +44,10 @@ const RoleClusterAccounts = React.createClass({
onRemoveClusterAccount={this.handleRemoveClusterAccount}
/>
) : (
<div className="generic-empty-state">
<span className="icon alert-triangle"></span>
<h4>No Cluster Accounts found</h4>
</div>
<div className="generic-empty-state">
<span className="icon alert-triangle"></span>
<h4>No Cluster Accounts found</h4>
</div>
)}
</div>
</div>

View File

@ -45,7 +45,7 @@ const FieldListItem = React.createClass({
{
isKapacitorRule ?
<Dropdown items={items} onChoose={this.handleApplyFunctions} selected={fieldFunc.funcs.length ? fieldFunc.funcs[0] : 'Select a function'} /> :
<MultiSelectDropdown items={INFLUXQL_FUNCTIONS} onApply={this.handleApplyFunctions} selectedItems={fieldFunc.funcs || []} />
<MultiSelectDropdown items={INFLUXQL_FUNCTIONS} onApply={this.handleApplyFunctions} selectedItems={fieldFunc.funcs || []} />
}
</div>
</li>

View File

@ -120,10 +120,10 @@ const DatabaseManager = React.createClass({
<div className="panel-body continuous-queries">
{
queries.length ? queries.map((query, i) => <pre key={i}><code>{query}</code></pre>) : (
<div className="continuous-queries__empty">
<img src="/assets/images/continuous-query-empty.svg" />
<h4>No queries to display</h4>
</div>
<div className="continuous-queries__empty">
<img src="/assets/images/continuous-query-empty.svg" />
<h4>No queries to display</h4>
</div>
)
}
</div>

View File

@ -115,7 +115,7 @@ export const KapacitorRulePage = React.createClass({
loadRule(Object.assign({}, rule, {
name,
}));
this.toggleEditName()
this.toggleEditName();
}
if (e.key === 'Escape') {

View File

@ -165,12 +165,12 @@ const Tasks = React.createClass({
</tbody>
</table>
</div> :
<div className="panel-body">
<div className="generic-empty-state tasks-empty-state">
<span className="icon cubo-node"></span>
<h4>No tasks running</h4>
</div>
</div>}
<div className="panel-body">
<div className="generic-empty-state tasks-empty-state">
<span className="icon cubo-node"></span>
<h4>No tasks running</h4>
</div>
</div>}
</div>
</div>
</div>