Commit 5dcc9eb7 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

js/clone.js: clone distribution name

parent 597d443b
......@@ -392,8 +392,8 @@ Clone.prototype = {
* */
getName: function () {
if (this.axes != undefined){
var name = this.axes + "; " + this.get_distributions_values()
return name
var n = sum(this.clone_number)
return this.get_distributions_values() + " (" + n + " clone" + (n>1 ? "s" : "") + ")"
}
if (this.getCluster().name){
return this.getCluster().name;
......
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