make default category explicit in import.js
This commit is contained in:
parent
7eae8deacb
commit
b2a4acc99d
1 changed files with 2 additions and 2 deletions
|
@ -333,8 +333,8 @@ const Import = {
|
||||||
} // if
|
} // if
|
||||||
|
|
||||||
var synapse = new Metamaps.Backbone.Synapse({
|
var synapse = new Metamaps.Backbone.Synapse({
|
||||||
desc: desc || "",
|
desc: desc || ''
|
||||||
category: category,
|
category: category || 'from-to',
|
||||||
permission: permission,
|
permission: permission,
|
||||||
topic1_id: topic1.id,
|
topic1_id: topic1.id,
|
||||||
topic2_id: topic2.id
|
topic2_id: topic2.id
|
||||||
|
|
Loading…
Reference in a new issue