diff --git a/src/ui/component/common/file-exporter.jsx b/src/ui/component/common/file-exporter.jsx index 690319272..2969bc90c 100644 --- a/src/ui/component/common/file-exporter.jsx +++ b/src/ui/component/common/file-exporter.jsx @@ -17,6 +17,7 @@ type Props = { defaultPath?: string, filters: Array, onFileCreated?: string => void, + disabled: boolean, }; class FileExporter extends React.PureComponent { @@ -78,9 +79,15 @@ class FileExporter extends React.PureComponent { } render() { - const { label } = this.props; + const { label, disabled } = this.props; return ( -