[sqllab] Added share button to bottom menu (#4584)

* added sharebtn

* address comments
This commit is contained in:
Hugh A. Miles II
2018-03-09 15:10:36 -08:00
committed by Maxime Beauchemin
parent d522292b01
commit c6af4882cd
2 changed files with 26 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ import Button from '../../components/Button';
import TemplateParamsEditor from './TemplateParamsEditor';
import SouthPane from './SouthPane';
import SaveQuery from './SaveQuery';
import ShareQuery from './ShareQuery';
import Timer from '../../components/Timer';
import SqlEditorLeftBar from './SqlEditorLeftBar';
import AceEditorWrapper from './AceEditorWrapper';
@@ -195,6 +196,9 @@ class SqlEditor extends React.PureComponent {
dbId={qe.dbId}
/>
</span>
<span className="m-r-5">
<ShareQuery queryEditor={qe} />
</span>
{ctasControls}
</Form>
</div>