summaryrefslogtreecommitdiffstats
path: root/webapp/components/admin_console/recycle_db.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/admin_console/recycle_db.jsx')
-rw-r--r--webapp/components/admin_console/recycle_db.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/components/admin_console/recycle_db.jsx b/webapp/components/admin_console/recycle_db.jsx
index 47ef2b0bf..c863fccd2 100644
--- a/webapp/components/admin_console/recycle_db.jsx
+++ b/webapp/components/admin_console/recycle_db.jsx
@@ -44,6 +44,10 @@ export default class RecycleDbButton extends React.Component {
}
render() {
+ if (global.window.mm_license.IsLicensed !== 'true') {
+ return <div></div>;
+ }
+
let testMessage = null;
if (this.state.fail) {
testMessage = (