mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +00:00
[Timeline] Use positive logic for clarity
https://github.com/nasa/openmct/pull/962#discussion_r64678013
This commit is contained in:
parent
e9cac6eff3
commit
dade6b2254
@ -62,10 +62,10 @@ define([], function () {
|
||||
}, 0);
|
||||
}
|
||||
|
||||
return !domainObject.hasCapability('utilization') ?
|
||||
"" :
|
||||
return domainObject.hasCapability('utilization') ?
|
||||
domainObject.getCapability('utilization').internal()
|
||||
.then(getUtilizationValue);
|
||||
.then(getUtilizationValue) :
|
||||
"";
|
||||
};
|
||||
|
||||
return UtilizationColumn;
|
||||
|
Loading…
x
Reference in New Issue
Block a user