mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-9374] Fix sonarcloud issue
This commit is contained in:
+2
-4
@@ -131,10 +131,8 @@ export class SearchInputControlComponent implements OnInit, OnChanges {
|
||||
}
|
||||
|
||||
ngOnChanges(changes: SimpleChanges): void {
|
||||
if (changes['hasLibrariesConstraint'] && !changes['hasLibrariesConstraint'].firstChange) {
|
||||
if (this.searchFieldFormControl.touched) {
|
||||
this.validateInput();
|
||||
}
|
||||
if (changes['hasLibrariesConstraint'] && !changes['hasLibrariesConstraint'].firstChange && this.searchFieldFormControl.touched) {
|
||||
this.validateInput();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user