Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Show message if no apps match the search term
Browse files Browse the repository at this point in the history
  • Loading branch information
ppacher committed Feb 10, 2022
1 parent 0644c58 commit dbcc231
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/portmaster/src/app/pages/app-settings/app-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ export class AppSettingsPageComponent implements OnInit, OnDestroy {
this.appProfile = profile;
this._loading = false;

this.appProfile!.Description = "foo"

if (!!this.appProfile?.LinkedPath) {
let parts: string[] = [];
let sep = '/'
Expand Down
3 changes: 3 additions & 0 deletions modules/portmaster/src/app/pages/app-settings/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,8 @@ <h4>
</div>
</ng-container>
</ng-template>
</div>

<div *ngIf="total === 0 && searchTerm !== ''" class="flex items-center justify-center p-2 bg-gray-200 text-secondary">
No applications match your search term.
</div>

0 comments on commit dbcc231

Please sign in to comment.