mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 16:03:21 +00:00
fix: copy component only if empty selection
This commit is contained in:
@@ -131,7 +131,7 @@
|
||||
}
|
||||
|
||||
async function handleCopy(event: KeyboardEvent) {
|
||||
if (!$selectedComponent || $jobsDrawerOpen) {
|
||||
if (!$selectedComponent || $jobsDrawerOpen || window.getSelection()?.toString() != '') {
|
||||
return
|
||||
}
|
||||
tempGridItems = undefined
|
||||
|
||||
Reference in New Issue
Block a user