diff --git a/jslib b/jslib index d56c5ff4f1..f16fc58d70 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit d56c5ff4f157b346500ceb0c256e88daaf4c4684 +Subproject commit f16fc58d707b9ed55355e62440fb95185f972090 diff --git a/src/popup/vault/groupings.component.ts b/src/popup/vault/groupings.component.ts index 052e129c5f..e08dbb7dd5 100644 --- a/src/popup/vault/groupings.component.ts +++ b/src/popup/vault/groupings.component.ts @@ -1,5 +1,6 @@ import { Angulartics2 } from 'angulartics2'; +import { Location } from '@angular/common'; import { ChangeDetectorRef, Component, @@ -68,7 +69,8 @@ export class GroupingsComponent extends BaseGroupingsComponent implements OnInit private changeDetectorRef: ChangeDetectorRef, private route: ActivatedRoute, private stateService: StateService, private popupUtils: PopupUtilsService, private syncService: SyncService, private analytics: Angulartics2, - private platformUtilsService: PlatformUtilsService, private searchService: SearchService) { + private platformUtilsService: PlatformUtilsService, private searchService: SearchService, + private location: Location) { super(collectionService, folderService); this.noFolderListSize = platformUtilsService.isEdge() ? 25 : 100; } @@ -110,6 +112,7 @@ export class GroupingsComponent extends BaseGroupingsComponent implements OnInit this.searchText = this.state.searchText; } else if (params.searchText) { this.searchText = params.searchText; + this.location.replaceState('vault'); } if (!this.syncService.syncInProgress) {