fix(grid): enable prepared row copy actions
This commit is contained in:
1 parent
a3f3cadb39
commit
d27f8e18a6
2 files changed
+56
-14
No files matched your search
@@ -8683,18 +8683,15 @@ function copySubmenu(): ContextMenuItem {
|
||||
items.push({
|
||||
label: labels.insertNoPkMerged,
|
||||
action: () => copyRowAsInsertWithoutPrimaryKeys("merged"),
|
||||
disabled: !canCopyRowAsInsertWithoutPrimaryKeys.value,
|
||||
});
|
||||
items.push({
|
||||
label: labels.insertNoPkRowByRow,
|
||||
action: () => copyRowAsInsertWithoutPrimaryKeys("row-by-row"),
|
||||
disabled: !canCopyRowAsInsertWithoutPrimaryKeys.value,
|
||||
});
|
||||
} else {
|
||||
items.push({
|
||||
label: labels.insertNoPk,
|
||||
action: () => copyRowAsInsertWithoutPrimaryKeys(),
|
||||
disabled: !canCopyRowAsInsertWithoutPrimaryKeys.value,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user