π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: in canvas grid view cmd+c is only working for cell copy even if 0 cell selected
Ramesh Mane2a4954b2ca82
diff --git a/packages/nc-gui/components/smartsheet/grid/canvas/composables/useKeyboardNavigation.ts b/packages/nc-gui/components/smartsheet/grid/canvas/composables/useKeyboardNavigation.tsindex f172b04756..c4808f080c 100644--- a/packages/nc-gui/components/smartsheet/grid/canvas/composables/useKeyboardNavigation.ts+++ b/packages/nc-gui/components/smartsheet/grid/canvas/composables/useKeyboardNavigation.ts@@ -172,6 +172,9 @@ export function useKeyboardNavigation({if (cmdOrCtrl && (!editEnabled.value || EDIT_INTERACTABLE.includes(editEnabled.value?.column?.uidt))) {switch (e.key.toLowerCase()) {case 'c':+ // If cell is not selected then return+ if (activeCell.value.row === -1 || activeCell.value.column === -1) return+e.preventDefault()copyValue({ row: activeCell.value.row, col: activeCell.value.column }, groupPath)return