mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-24 08:01:38 +00:00
capture event on dropdown click
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
<button
|
||||
on:click={(event) => {
|
||||
if (!item.disabled) {
|
||||
event.preventDefault()
|
||||
open = false
|
||||
item.action && item.action(event)
|
||||
dispatch('click', { item: item?.eventName })
|
||||
|
||||
Reference in New Issue
Block a user