minor changes/fixes

This commit is contained in:
X4Lo committed 2024-05-18 15:31:20 +01:00
1 parent 04965e9123
commit 21aaead02a
7 files changed
+23 -7

No files matched your search

@@ -46,7 +46,7 @@
</ul>
</div>
<app-dynamic-entry-list [entries]="entries"></app-dynamic-entry-list>
<app-dynamic-entry-list [entries]="entries" (onEntryUpdate)="entryUpdated($event)"></app-dynamic-entry-list>
<!-- Pagination -->
<div class="pagination-container d-flex justify-content-end" *ngIf="maxPage > 1">
@@ -85,6 +85,11 @@ export class SearchComponent implements OnInit {
// this.doSearch(this.searchInput);
// }
// ? EVENT CATCHER
entryUpdated(event: Event) {
}
// ? FUNCTIONS
doSearch(keyword: string) {
keyword = keyword.toLowerCase().trim();