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

Admin script to compress old brews

Also fully delete the text field after compressed version is saved instead of leaving just an empty field.
This commit is contained in:
Trevor Buckner
2020-01-23 09:38:50 -05:00
parent 37eb0d0889
commit bc81e09686
6 changed files with 126 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ const createClass = require('create-react-class');
const BrewCleanup = require('./brewCleanup/brewCleanup.jsx');
const BrewLookup = require('./brewLookup/brewLookup.jsx');
const BrewCompress = require ('./brewCompress/brewCompress.jsx');
const Stats = require('./stats/stats.jsx');
const Admin = createClass({
@@ -26,6 +27,8 @@ const Admin = createClass({
<BrewLookup />
<hr />
<BrewCleanup />
<hr />
<BrewCompress />
</div>
</div>;
}