1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Add parenthesis

This commit is contained in:
Tim Daubenschütz 2015-10-12 17:12:10 +02:00
parent 6d36be5311
commit cc089fe92b

View File

@ -45,6 +45,7 @@ const SearchBar = React.createClass({
*
* AND
*
* (
* 2. Condition: `searchQueryProps` and `searchQueryState` are true and equal
* (which means that the search query has been propagated to the inner
* fetch method of `fetchPieceList`, which in turn means that a fetch
@ -56,6 +57,7 @@ const SearchBar = React.createClass({
* `false`, as long as they're equal). This case only occurs when the user
* has entered a `searchQuery` and deletes the query in one go, reseting
* `searchQueryProps` to empty string ('' === false) again.
* )
*/
const firstCondition = !!loading;