Commit 6b39b58b authored by Marcelo Rivera's avatar Marcelo Rivera

(fix): removed clear search

1 merge request!507WIP: (feat): Minds Pro (development branch) - Release 3
Pipeline #79205333 running with stages
......@@ -20,9 +20,6 @@
type="text"
(keyup.enter)="search()"
>
<ng-container *ngIf="query">
<i class="material-icons clear" (click)="clearSearch()">close</i>
</ng-container>
<label class="mdl-textfield__label" for="search"></label>
</div>
</div>
......
......@@ -274,13 +274,6 @@ export class ProChannelComponent implements OnInit, AfterViewInit, OnDestroy {
return this.router.navigate(this.channelService.getRouterLink('all', { query: this.query }));
}
clearSearch() {
this.query = '';
// TODO: Do this!
// const cleanUrl = this.router.url.split(';')[0];
// this.router.navigate([cleanUrl]);
}
detectChanges() {
this.cd.markForCheck();
this.cd.detectChanges();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment