Commit ce224e85ef1d40d1183492c733fa915c524ea3d9

Authored by Benjamin Renard
1 parent 2a0b8d2c

Fix table / dim association

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
js/app/views/ParamArgumentsUI.js
... ... @@ -131,11 +131,11 @@ Ext.define('amdaUI.ParamArgumentsUI', {
131 131 this.paramType = -1;
132 132 if (result.data && result.data.dimensions) {
133 133 this.paramType = 0;
134   - if (result.data.dimensions.dim_1 && (parseInt(result.data.dimensions.dim_1) > 1)) {
  134 + if (result.data.dimensions.dim1 && (parseInt(result.data.dimensions.dim1) > 1)) {
135 135 this.buildDimIndexSelection("dim1", result.data, uiScope);
136 136 ++this.paramType;
137 137 }
138   - if (result.data.dimensions.dim_2 && (parseInt(result.data.dimensions.dim_2) > 1)) {
  138 + if (result.data.dimensions.dim2 && (parseInt(result.data.dimensions.dim2) > 1)) {
139 139 this.buildDimIndexSelection("dim2", result.data, uiScope);
140 140 ++this.paramType;
141 141 }
... ...