[Table] #670 Name column only prepended if multiple objects

This commit is contained in:
Henry 2016-02-26 11:22:16 -08:00
parent ffa497f22f
commit f04c3692c1

View File

@ -166,10 +166,10 @@ define(
configuration;
if (handle) {
handle.promiseTelemetryObjects().then(function () {
handle.promiseTelemetryObjects().then(function (objects) {
table.buildColumns(handle.getMetadata());
if (table.columns.length > 0){
if (objects && objects.length > 1){
table.addColumn(new NameColumn(), 0);
}