From fc2849824f192ba75f59604ccdcfcafc3b9ded33 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Thu, 13 Oct 2016 16:48:46 +0800 Subject: [PATCH] fix js syntax error --- frontend/src/Metamaps/Import.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/Metamaps/Import.js b/frontend/src/Metamaps/Import.js index 6f25d21b..f1539274 100644 --- a/frontend/src/Metamaps/Import.js +++ b/frontend/src/Metamaps/Import.js @@ -296,8 +296,8 @@ const Import = { metacode_id: metacode.id, permission: topic_permission, defer_to_map_id: defer_to_map_id, - desc: desc || "", - link: link || "", + desc: desc || '', + link: link || '', calculated_permission: Active.Map.get('permission') }) Metamaps.Topics.add(topic) @@ -333,7 +333,7 @@ const Import = { } // if var synapse = new Metamaps.Backbone.Synapse({ - desc: desc || '' + desc: desc || '', category: category || 'from-to', permission: permission, topic1_id: topic1.id,