mirror of
https://github.com/nasa/openmct.git
synced 2025-02-19 17:08:17 +00:00
only add missing object styles if table has configuration
This commit is contained in:
parent
e985c0817a
commit
fffa773cdf
@ -36,8 +36,8 @@ export default class TelemetryTableConfiguration extends EventEmitter {
|
||||
this.defaultOptions = options;
|
||||
this.columns = {};
|
||||
|
||||
// Initialize objectStyles if it doesn't exist
|
||||
if (!this.domainObject.configuration.objectStyles) {
|
||||
// Initialize objectStyles if it doesn't exist, for items with configuration
|
||||
if (this.domainObject.configuration && !this.domainObject.configuration.objectStyles) {
|
||||
this.domainObject.configuration.objectStyles = {};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user