mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 13:43:09 +00:00
[Table] #670 Name column only prepended if multiple objects
This commit is contained in:
parent
ffa497f22f
commit
f04c3692c1
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user