From 504f41bf50a7b5d3f594dc4517d07741c34e2dd5 Mon Sep 17 00:00:00 2001 From: "philip.cline" Date: Mon, 11 Dec 2023 13:46:44 -0500 Subject: [PATCH] fix(pattern export): fix bug with export pattern modal --- lib/editor/components/EditorFeedSourcePanel.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/editor/components/EditorFeedSourcePanel.js b/lib/editor/components/EditorFeedSourcePanel.js index 2ec08b3cd..7c40ae23e 100644 --- a/lib/editor/components/EditorFeedSourcePanel.js +++ b/lib/editor/components/EditorFeedSourcePanel.js @@ -84,8 +84,9 @@ export default class EditorFeedSourcePanel extends Component { return ( ) @@ -133,6 +134,7 @@ export type ItemProps = { deleteSnapshot: typeof snapshotActions.deleteSnapshot, disabled: boolean, downloadSnapshot: typeof snapshotActions.downloadSnapshot, + exportPatternsModal: any, feedSource: Feed, modal: any, restoreSnapshot: typeof snapshotActions.restoreSnapshot, @@ -148,7 +150,7 @@ class SnapshotItem extends Component { } _onClickExport = () => { - this.props.modal.open({snapshot: this.props.snapshot}) + this.props.exportPatternsModal.open({snapshot: this.props.snapshot}) } _onDeleteSnapshot = () => {