mirror of
https://github.com/jwetzell/showbridge-webui.git
synced 2026-09-01 11:28:58 +00:00
formatting
This commit is contained in:
@@ -31,10 +31,7 @@ export class ArrayFormComponent implements OnInit {
|
||||
ngOnInit(): void {
|
||||
if (this.paramFormControl && this.paramInfo?.schema) {
|
||||
if (!Array.isArray(this.paramFormControl.value)) {
|
||||
this.arrayValue = parseStringToArray(
|
||||
this.paramFormControl.value,
|
||||
this.paramInfo.schema,
|
||||
);
|
||||
this.arrayValue = parseStringToArray(this.paramFormControl.value, this.paramInfo.schema);
|
||||
} else {
|
||||
this.arrayValue = this.paramFormControl.value;
|
||||
}
|
||||
@@ -101,7 +98,7 @@ export class ArrayFormComponent implements OnInit {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// NOTE(jwetzel): this is only needed for object item types
|
||||
updateItem(index: number, value: any) {
|
||||
if (this.arrayValue) {
|
||||
|
||||
Reference in New Issue
Block a user