0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 22:12:39 +00:00

Reinstate length check

This commit is contained in:
G.Ambatte
2024-11-10 21:45:17 +13:00
parent 2dafbf2080
commit dc1d40512b

View File

@@ -81,7 +81,7 @@ const BrewLookup = createClass({
<dt>Number of SCRIPT tags detected</dt>
<dd>{this.state.scriptCount}</dd>
</dl>
{this.state.scriptCount &&
{this.state.scriptCount > 0 &&
<div className='cleanButton'>
<button onClick={this.cleanScript}>CLEAN BREW</button>
</div>