From b2a4acc99d7b5524e88bae6731946754546bdf40 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Thu, 13 Oct 2016 14:23:55 +0800 Subject: [PATCH] make default category explicit in import.js --- frontend/src/Metamaps/Import.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Metamaps/Import.js b/frontend/src/Metamaps/Import.js index 868843bf..6f25d21b 100644 --- a/frontend/src/Metamaps/Import.js +++ b/frontend/src/Metamaps/Import.js @@ -333,8 +333,8 @@ const Import = { } // if var synapse = new Metamaps.Backbone.Synapse({ - desc: desc || "", - category: category, + desc: desc || '' + category: category || 'from-to', permission: permission, topic1_id: topic1.id, topic2_id: topic2.id