Skip to content
Snippets Groups Projects
Commit ffce48c4 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #13271 TIME 0:10 fix bad init

parent 202c0917
No related branches found
No related tags found
No related merge requests found
......@@ -201,6 +201,8 @@ export class PluginSelectSearchComponent implements OnInit, OnDestroy, AfterView
if (JSON.stringify(this.datas) !== JSON.stringify(this.datasClone) && !this.isModelModified) {
this.isModelModified = true;
this.datasClone = JSON.parse(JSON.stringify(this.datas));
// if more data => contruct title again
if (this.datasClone.length !== this.datas.length) {
let group = '';
......@@ -215,8 +217,6 @@ export class PluginSelectSearchComponent implements OnInit, OnDestroy, AfterView
}
});
}
this.datasClone = JSON.parse(JSON.stringify(this.datas));
this.filteredDatas = this.formControlSearch.valueChanges
.pipe(
startWith(''),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment