From c33c60d118434e336ce5c8ef40a2ed719b115c18 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Wed, 25 Jan 2017 17:10:17 -0500 Subject: [PATCH] fix metacode selection --- frontend/src/components/TopicCard/Links.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/components/TopicCard/Links.js b/frontend/src/components/TopicCard/Links.js index f74ed624..93bebd82 100644 --- a/frontend/src/components/TopicCard/Links.js +++ b/frontend/src/components/TopicCard/Links.js @@ -1,5 +1,8 @@ import React, { PropTypes, Component } from 'react' +import DataModel from '../../Metamaps/DataModel' +import Visualize from '../../Metamaps/Visualize' + const inmaps = (topic) => { const inmapsArray = topic.get('inmaps') || [] const inmapsLinks = topic.get('inmapsLinks') || [] @@ -26,6 +29,7 @@ const inmaps = (topic) => { return html } +// TODO all of these should be largely turned into passed-in callbacks const bindShowCardListeners = (topic, ActiveMapper) => { var authorized = topic.authorizeToEdit(ActiveMapper) var selectingMetacode = false