From d434efc9e0ca288cd46885066967233288adf832 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Tue, 12 Mar 2024 06:44:59 +0000 Subject: [PATCH] chore(nc-gui): lint --- .../nc-gui/components/general/BaseIconColorPicker.vue | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/nc-gui/components/general/BaseIconColorPicker.vue b/packages/nc-gui/components/general/BaseIconColorPicker.vue index f0e33ee274..7195e3d929 100644 --- a/packages/nc-gui/components/general/BaseIconColorPicker.vue +++ b/packages/nc-gui/components/general/BaseIconColorPicker.vue @@ -34,14 +34,6 @@ const updateColorHue = (value?: string | number | null) => { colorRef.value.h = !isNaN(parseInt(`${value}`)) ? +Math.min(parseInt(`${value}`), 360) : 0 } -function selectColor(value: number) { - colorRef.value.h = value - - emit('colorSelected', value) - - isOpen.value = false -} - const onClick = (e: Event) => { if (readonly) return