mirror of
https://github.com/nasa/openmct.git
synced 2025-06-20 08:03:49 +00:00
Do not use Object.create() with Vueified objects (#2359)
This commit is contained in:
committed by
Deep Tailor
parent
d1baa1f98b
commit
dbb42e9bb6
@ -66,7 +66,7 @@ define(
|
||||
name: "Properties",
|
||||
rows: this.properties.map(function (property, index) {
|
||||
// Property definition is same as form row definition
|
||||
var row = Object.create(property.getDefinition());
|
||||
var row = JSON.parse(JSON.stringify(property.getDefinition()));
|
||||
|
||||
// Use index as the key into the formValue;
|
||||
// this correlates to the indexing provided by
|
||||
|
Reference in New Issue
Block a user