From a9d50b339325b7db543dde09329b611131ae9adf Mon Sep 17 00:00:00 2001 From: Jonathan Meyer <26874831+atmgrifter00@users.noreply.github.com> Date: Tue, 7 May 2024 17:05:54 -0500 Subject: [PATCH] Prettier --- packages/nimble-components/src/select/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/nimble-components/src/select/index.ts b/packages/nimble-components/src/select/index.ts index e858a8ee4d..389e3920f2 100644 --- a/packages/nimble-components/src/select/index.ts +++ b/packages/nimble-components/src/select/index.ts @@ -343,7 +343,11 @@ export class Select super.clickHandler(e); this.open = this.collapsible && !this.open; - if (!this.open && this.selectedIndex !== currentIndex && optionClicked) { + if ( + !this.open + && this.selectedIndex !== currentIndex + && optionClicked + ) { this.updateValue(true); } }