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
@@ -468,7 +468,6 @@ export default class VersionEditDialogComponent implements OnInit {
|
|
468 |
intents: formValue.intents.map((intent: any) => ({
|
469 |
name: intent.name,
|
470 |
caption: intent.caption,
|
471 |
-
locale: intent.locale,
|
472 |
detection_prompt: intent.detection_prompt,
|
473 |
examples: Array.isArray(intent.examples) ? intent.examples : [],
|
474 |
parameters: Array.isArray(intent.parameters) ? intent.parameters.map((param: any) => ({
|
@@ -539,7 +538,6 @@ export default class VersionEditDialogComponent implements OnInit {
|
|
539 |
intents: formValue.intents.map((intent: any) => ({
|
540 |
name: intent.name,
|
541 |
caption: intent.caption,
|
542 |
-
locale: intent.locale,
|
543 |
detection_prompt: intent.detection_prompt,
|
544 |
examples: Array.isArray(intent.examples) ? intent.examples : [],
|
545 |
parameters: Array.isArray(intent.parameters) ? intent.parameters : [],
|
|
|
468 |
intents: formValue.intents.map((intent: any) => ({
|
469 |
name: intent.name,
|
470 |
caption: intent.caption,
|
|
|
471 |
detection_prompt: intent.detection_prompt,
|
472 |
examples: Array.isArray(intent.examples) ? intent.examples : [],
|
473 |
parameters: Array.isArray(intent.parameters) ? intent.parameters.map((param: any) => ({
|
|
|
538 |
intents: formValue.intents.map((intent: any) => ({
|
539 |
name: intent.name,
|
540 |
caption: intent.caption,
|
|
|
541 |
detection_prompt: intent.detection_prompt,
|
542 |
examples: Array.isArray(intent.examples) ? intent.examples : [],
|
543 |
parameters: Array.isArray(intent.parameters) ? intent.parameters : [],
|