Skip to content

Commit

Permalink
all: smoother feedback search (fixes #3823) (#7789)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
jessewashburn and dogi authored Nov 18, 2024
1 parent 6fdc048 commit c2f36b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.15.49",
"version": "0.15.50",
"myplanet": {
"latest": "v0.20.97",
"min": "v0.19.97"
Expand Down
7 changes: 5 additions & 2 deletions src/app/feedback/feedback.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@
<mat-form-field class="font-size-1">
<input matInput i18n-placeholder placeholder="Type title to search..." [(ngModel)]="titleSearch">
</mat-form-field>
<button mat-button (click)="resetSearch()"><span i18n>Reset</span></button>
</ng-template>
<button mat-button (click)="resetSearch()"
[disabled]="feedback.filter.trim() === '' && filter.type === '' && filter.status === '' && titleSearch.trim() === ''">
<span i18n>Clear</span>
</button>
</ng-template>
</mat-toolbar>
<div class="space-container">
<mat-toolbar>
Expand Down

0 comments on commit c2f36b7

Please sign in to comment.