Show violations in accounts:
-
You can search by name or account number.
-
-
-
`${option.name} (${option.id})`}
- filterOption={filterOptionFn}
- onOptionSelected={this._selectAccount.bind(this)}
- maxVisible={10} />
+ {!this.state.allSelected ?
+
+
+ You can search by name or account number or
+ Select all accounts
+
+
+
+
+
+ `${option.name} (${option.id})`}
+ filterOption={filterOptionFn}
+ onOptionSelected={this._selectAccount.bind(this)}
+ maxVisible={10} />
+
+
+ :
+
+
+
+
}
+
+
+ Toggle all
+
+
+ Untoggle all
+
- {selectedAccounts.map(a =>
+
+ {_.sortBy(activeAccounts, 'name')
+ .map(a =>
)}
+ {_.sortBy(inactiveAccounts, 'name')
+ .map(a =>
+ )}
+
;
}
}
diff --git a/client/lib/violation/src/violation-analysis/violation-analysis.jsx b/client/lib/violation/src/violation-analysis/violation-analysis.jsx
index 6fb814ca..e5bbc218 100644
--- a/client/lib/violation/src/violation-analysis/violation-analysis.jsx
+++ b/client/lib/violation/src/violation-analysis/violation-analysis.jsx
@@ -120,7 +120,7 @@ class ViolationAnalysis extends React.Component {
return
+
;
}
}
ViolationAnalysis.displayName = 'ViolationAnalysis';