mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 12:08:01 +00:00
fix: Accidental contact creation on country dropdown toggle (#11494)
This commit is contained in:
@@ -81,6 +81,7 @@ onMounted(() => {
|
|||||||
<button
|
<button
|
||||||
v-for="(item, index) in filteredMenuItems"
|
v-for="(item, index) in filteredMenuItems"
|
||||||
:key="index"
|
:key="index"
|
||||||
|
type="button"
|
||||||
class="inline-flex items-center justify-start w-full h-8 min-w-0 gap-2 px-2 py-1.5 transition-all duration-200 ease-in-out border-0 rounded-lg z-60 hover:bg-n-alpha-1 dark:hover:bg-n-alpha-2 disabled:cursor-not-allowed disabled:pointer-events-none disabled:opacity-50"
|
class="inline-flex items-center justify-start w-full h-8 min-w-0 gap-2 px-2 py-1.5 transition-all duration-200 ease-in-out border-0 rounded-lg z-60 hover:bg-n-alpha-1 dark:hover:bg-n-alpha-2 disabled:cursor-not-allowed disabled:pointer-events-none disabled:opacity-50"
|
||||||
:class="{
|
:class="{
|
||||||
'bg-n-alpha-1 dark:bg-n-solid-active': item.isSelected,
|
'bg-n-alpha-1 dark:bg-n-solid-active': item.isSelected,
|
||||||
|
|||||||
@@ -185,6 +185,7 @@ watch(
|
|||||||
"
|
"
|
||||||
trailing-icon
|
trailing-icon
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
|
type="button"
|
||||||
class="!h-[1.875rem] top-1 ltr:ml-px rtl:mr-px !px-2 outline-0 !outline-none !rounded-lg border-0 ltr:!rounded-r-none rtl:!rounded-l-none"
|
class="!h-[1.875rem] top-1 ltr:ml-px rtl:mr-px !px-2 outline-0 !outline-none !rounded-lg border-0 ltr:!rounded-r-none rtl:!rounded-l-none"
|
||||||
@click="toggleCountryDropdown"
|
@click="toggleCountryDropdown"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user