[CST-3090] fix services name and dropdown

This commit is contained in:
Danilo Di Nuzzo
2020-06-17 10:47:46 +02:00
parent efc476ab31
commit 294f5e5f31
3 changed files with 4 additions and 43 deletions

View File

@@ -123,7 +123,7 @@ export class CollectionDropdownComponent implements OnInit, OnDestroy {
startWith('')
).subscribe(
(next) => {
if (hasValue(next)) {
if (hasValue(next) && next !== this.currentQuery) {
this.resetPagination();
this.currentQuery = next;
this.populateCollectionList(this.currentQuery, this.currentPage);