@adins/ucsearch 3.0.2 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -396,7 +396,7 @@ class UCSearchComponent {
|
|
|
396
396
|
initiateForm() {
|
|
397
397
|
return __awaiter(this, void 0, void 0, function* () {
|
|
398
398
|
if (this.searchInput.dataInput !== undefined) {
|
|
399
|
-
this.setConfigurationData(this.searchInput.dataInput);
|
|
399
|
+
this.setConfigurationData(Object.assign({}, this.searchInput.dataInput));
|
|
400
400
|
return;
|
|
401
401
|
}
|
|
402
402
|
yield this.getJSON(this.searchInput._url).subscribe(data => {
|
|
@@ -413,7 +413,7 @@ class UCSearchComponent {
|
|
|
413
413
|
}
|
|
414
414
|
this.countForm = data.component.length;
|
|
415
415
|
this.isDataLoaded = true;
|
|
416
|
-
if (this.searchInput.title != undefined && this.searchInput.title != "") {
|
|
416
|
+
if (this.searchInput.title != undefined && this.searchInput.title != "" && this.searchInput.dataInput === undefined) {
|
|
417
417
|
this.configuration.title = this.searchInput.title;
|
|
418
418
|
}
|
|
419
419
|
for (let i = 0; i < this.countForm; i++) {
|