Commit b2bd67e2 authored by Lucas Nussbaum's avatar Lucas Nussbaum
Browse files

[dev] better rendering when there's a single node in a nodeset

parent f9766727
......@@ -68,6 +68,7 @@ module G5K
def self.nodeset(a)
l = a.length
return '' if l == 0
return a.first.to_s if l == 1
a = a.compact.uniq.sort
a0 = a[0]
s = "[#{a0}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment