From d1893654693ed6943279ddb59116901a09922a15 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Fri, 10 May 2024 15:54:30 +0100 Subject: [PATCH] Updated comments and removed some console logs --- .../omni-search-box/omni-search-box.component.ts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/app/omni-search-box/omni-search-box.component.ts b/src/app/omni-search-box/omni-search-box.component.ts index 92618b0..81a4776 100644 --- a/src/app/omni-search-box/omni-search-box.component.ts +++ b/src/app/omni-search-box/omni-search-box.component.ts @@ -143,21 +143,28 @@ export class OmniSearchBoxComponent implements OnInit { } + /** + * Handle the selection option click and trigger updateModeSelection + * @param ev + * @param title + */ selectedClickHandler(ev: MouseEvent, title: string) { ev.stopImmediatePropagation(); - console.log('selectedClickHandler', title); - console.log('selectedClickHandler', ev); this.selectedOption = title; this.updateModeSelection(); } + + /** + * Handle the modified option click and trigger updateMopdifierSelection + * @param ev + * @param title + */ modifiedClickHandler(ev: MouseEvent, title: string) { ev.stopImmediatePropagation(); - console.log('selectedClickHandler', title); - console.log('selectedClickHandler', ev); this.selectedModifier = title;