// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. var Modal = ReactBootstrap.Modal; export default class AboutBuildModal extends React.Component { constructor(props) { super(props); this.doHide = this.doHide.bind(this); } doHide() { this.props.onModalDismissed(); } render() { const config = global.window.mm_config; const license = global.window.mm_license; let title = 'Team Edition'; let licensee; if (config.BuildEnterpriseReady === 'true' && license.IsLicensed === 'true') { title = 'Enterprise Edition'; licensee = (