Spaces:
Building
Building
Update flare-ui/src/app/dialogs/version-edit-dialog/version-edit-dialog.component.ts
Browse files
flare-ui/src/app/dialogs/version-edit-dialog/version-edit-dialog.component.ts
CHANGED
@@ -155,14 +155,14 @@ export default class VersionEditDialogComponent implements OnInit {
|
|
155 |
// Add intent parameters
|
156 |
const paramsArray = this.getIntentParameters(intentIndex);
|
157 |
paramsArray.clear();
|
158 |
-
(intent.parameters || []).forEach(param: any => {
|
159 |
paramsArray.push(this.createParameterFormGroup(param));
|
160 |
});
|
161 |
|
162 |
// Add examples
|
163 |
const examplesArray = this.getIntentExamples(intentIndex);
|
164 |
examplesArray.clear();
|
165 |
-
(intent.examples || []).forEach(example: any => {
|
166 |
examplesArray.push(this.fb.control(example));
|
167 |
});
|
168 |
});
|
|
|
155 |
// Add intent parameters
|
156 |
const paramsArray = this.getIntentParameters(intentIndex);
|
157 |
paramsArray.clear();
|
158 |
+
(intent.parameters || []).forEach((param: any) => {
|
159 |
paramsArray.push(this.createParameterFormGroup(param));
|
160 |
});
|
161 |
|
162 |
// Add examples
|
163 |
const examplesArray = this.getIntentExamples(intentIndex);
|
164 |
examplesArray.clear();
|
165 |
+
(intent.examples || []).forEach((example: any) => {
|
166 |
examplesArray.push(this.fb.control(example));
|
167 |
});
|
168 |
});
|