mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-21 21:06:58 +00:00
Simplify scriptCount logic
This commit is contained in:
1 parent
952b67aed3
commit
b3793a3330
1 file changed
+1
-1
@@ -81,7 +81,7 @@ const BrewLookup = createClass({
|
||||
<dt>Number of SCRIPT tags detected</dt>
|
||||
<dd>{this.state.scriptCount}</dd>
|
||||
</dl>
|
||||
{this.state.scriptCount > 0 &&
|
||||
{this.state.scriptCount &&
|
||||
<div className='cleanButton'>
|
||||
<button onClick={this.cleanScript}>CLEAN BREW</button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user