Fix linting errors
parent
ba3a8b0d45
commit
6b773f0896
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -115,7 +115,7 @@ export const KapacitorRulePage = React.createClass({
|
|||
loadRule(Object.assign({}, rule, {
|
||||
name,
|
||||
}));
|
||||
this.toggleEditName()
|
||||
this.toggleEditName();
|
||||
}
|
||||
|
||||
if (e.key === 'Escape') {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue