fixed error in _filterBox that was causing maps not to load when a synapse had a nil description
This commit is contained in:
parent
2d2f98373e
commit
f9a24058aa
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@
|
|||
@metacodelist += '<p>' + metacode.name.downcase + '</p></li>'
|
||||
end
|
||||
@synapses.each_with_index do |synapse, index|
|
||||
@synapselist += '<li data-id="' + synapse.desc + '">'
|
||||
d = synapse.desc || ""
|
||||
@synapselist += '<li data-id="' + d + '">'
|
||||
@synapselist += '<img src="/assets/synapse16.png" alt="synapse icon" /><p>' + synapse.desc
|
||||
@synapselist += '</p></li>'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue