Skip to content

Commit

Permalink
fix(manager): fix on load feed version for editing
Browse files Browse the repository at this point in the history
  • Loading branch information
landonreed committed Feb 22, 2018
1 parent 46a4005 commit 863053a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/manager/components/version/FeedVersionViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,12 @@ export class VersionButtonToolbar extends Component {
_onClickLoadIntoEditor = (evt) => {
const {loadFeedVersionForEditing, version} = this.props
const messages = getComponentMessages('FeedVersionViewer')
const {id: feedVersionId, feedSourceId} = version
const {id: feedVersionId, feedSource} = version
console.log(version)
this.refs.confirm.open({
title: getMessage(messages, 'load'),
body: getMessage(messages, 'confirmLoad'),
onConfirm: () => loadFeedVersionForEditing({feedSourceId, feedVersionId})
onConfirm: () => loadFeedVersionForEditing({feedSourceId: feedSource.id, feedVersionId})
})
}

Expand Down

0 comments on commit 863053a

Please # to comment.