diff options
author | Corey Hulen <corey@hulen.com> | 2016-06-04 11:22:42 -0700 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-06-04 14:22:42 -0400 |
commit | cb868eb42bdd6a5a30fe111faa48875a4c13f09c (patch) | |
tree | fa1974a6782e5a31b38e4a87de7656866e08341f /webapp/components/admin_console/recycle_db.jsx | |
parent | f3825ba766625806e0776a17146ca5fff372612e (diff) | |
download | chat-cb868eb42bdd6a5a30fe111faa48875a4c13f09c.tar.gz chat-cb868eb42bdd6a5a30fe111faa48875a4c13f09c.tar.bz2 chat-cb868eb42bdd6a5a30fe111faa48875a4c13f09c.zip |
PLT-3169 moving reload/recycle commands (#3223)
* PLT-3169 moving reload/recycle commands
* Fixing eslint
Diffstat (limited to 'webapp/components/admin_console/recycle_db.jsx')
-rw-r--r-- | webapp/components/admin_console/recycle_db.jsx | 4 |
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 = ( |