Use modal instead of modal context

This commit is contained in:
Igor committed 2019-11-14 17:25:09 -03:00
1 parent fe687cd2f9
commit ec7337e801
3 files changed
+5 -4

No files matched your search

@@ -287,7 +287,7 @@ function _handleBuiltIn({ behavior } = {}) {
}
if (behavior === 'DOWNLOAD_SCREEN_SHOT') {
this.props.modalContext.show(ConnectedViewportDownloadForm, {
this.props.modal.show(ConnectedViewportDownloadForm, {
title: this.props.t('Download High Quality Image'),
customClassName: 'ViewportDownloadForm',
});