File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,9 @@ export default class EditorFeedSourcePanel extends Component<Props> {
8484 return (
8585 < SnapshotItem
8686 disabled = { disabled }
87+ exportPatternsModal = { this . refs . exportPatternsModal }
8788 key = { s . id }
88- modal = { this . refs . exportPatternsModal }
89+ modal = { this . refs . confirmModal }
8990 snapshot = { s }
9091 { ...this . props } />
9192 )
@@ -133,6 +134,7 @@ export type ItemProps = {
133134 deleteSnapshot : typeof snapshotActions . deleteSnapshot ,
134135 disabled : boolean ,
135136 downloadSnapshot : typeof snapshotActions . downloadSnapshot ,
137+ exportPatternsModal : any ,
136138 feedSource : Feed ,
137139 modal : any ,
138140 restoreSnapshot : typeof snapshotActions . restoreSnapshot ,
@@ -148,7 +150,7 @@ class SnapshotItem extends Component<ItemProps> {
148150 }
149151
150152 _onClickExport = ( ) => {
151- this . props . modal . open ( { snapshot : this . props . snapshot } )
153+ this . props . exportPatternsModal . open ( { snapshot : this . props . snapshot } )
152154 }
153155
154156 _onDeleteSnapshot = ( ) => {
You can’t perform that action at this time.
0 commit comments