diff --git a/src/components/grid/DataGrid.vue b/src/components/grid/DataGrid.vue index 6e23fe0342..3bd534bf61 100644 --- a/src/components/grid/DataGrid.vue +++ b/src/components/grid/DataGrid.vue @@ -812,7 +812,9 @@ const tableUsesSyntheticRowId = computed(() => usesSyntheticRowIdKey(props.databaseType, props.tableMeta?.primaryKeys ?? []), ); const hiveTableTransactional = ref(undefined); -const canEditExistingRows = computed(() => canEditExistingTableRows(props.databaseType, hiveTableTransactional.value)); +const canEditExistingRows = computed(() => + canEditExistingTableRows(props.databaseType, hiveTableTransactional.value, props.tableMeta?.primaryKeys ?? []), +); watch( () => [props.databaseType, props.connectionId, props.database, props.tableMeta?.schema, props.tableMeta?.tableName], async () => { @@ -2033,7 +2035,7 @@ defineExpose({ {{ t("grid.refresh") }}