Update buttons (#992)

This commit is contained in:
Nathan Bierema 2022-01-07 18:56:13 -06:00 committed by GitHub
parent 872a144a69
commit 3c0fb90b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 11 deletions

View File

@ -85,14 +85,11 @@ class Actions extends Component<Props> {
options.connectionId &&
options.features.dispatch && <Dispatcher options={options} />}
<Toolbar borderPosition="top">
{features.export && (
<Button title="Save a report" tooltipPosition="top-right">
<MdSave />
</Button>
)}
{features.export && <ExportButton />}
{features.import && <ImportButton />}
<PrintButton />
{position &&
(position !== '#popup' ||
navigator.userAgent.indexOf('Firefox') !== -1) && <PrintButton />}
<Divider />
<MonitorSelector />
<Divider />

View File

@ -35,11 +35,6 @@ export default class BottomButtons extends Component<Props> {
const features = this.props.options.features;
return (
<Toolbar borderPosition="top">
{features.export && (
<Button title="Save a report" tooltipPosition="top-right">
<MdSave />
</Button>
)}
{features.export && <ExportButton />}
{features.import && <ImportButton />}
<PrintButton />