Skip to content

Commit 1558252

Browse files
mwootenanissalamrobertpatrick
authored
Fix variable lists management in WRC integ (#144)
* Fix the variable tables that's related to WRC changes. * Add missing semi-colon * Changed spread oper to JSON.parse(JSON.stringify) Co-authored-by: Anissa Lam <anissa.lam@oracle.com> Co-authored-by: Robert Patrick <robert.patrick@oracle.com>
1 parent 7b30407 commit 1558252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webui/src/js/viewModels/model-design-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function(accUtils, i18n, ko, project, urlCatalog, viewHelper, wktLogger, ViewMod
131131
//
132132
providerOptions['name'] = this.project.wdtModel.getDefaultModelFile();
133133
// Set model properties provider option
134-
providerOptions['modelProperties'] = [...this.project.wdtModel.getModelPropertiesObject().observable()];
134+
providerOptions['modelProperties'] = JSON.parse(JSON.stringify(this.project.wdtModel.getModelPropertiesObject().observable()));
135135
// Set model archive provider option
136136
providerOptions['modelArchive'] = this.project.wdtModel.archiveRoots;
137137

0 commit comments

Comments
 (0)