diff --git a/apps/desktop/src/components/grid/DataGrid.vue b/apps/desktop/src/components/grid/DataGrid.vue index 8c2a5d1209..5794b93c4f 100644 --- a/apps/desktop/src/components/grid/DataGrid.vue +++ b/apps/desktop/src/components/grid/DataGrid.vue @@ -85,7 +85,6 @@ import { hiveTablePropertiesIndicateTransactional, isHiddenGridColumn, isTdengineExistingRowReadonlyColumn, - usesKeylessRowPredicate, usesSyntheticRowIdKey, } from "@/lib/tableEditing"; import { formatGridSqlLiteral } from "@/lib/dataGridSql"; @@ -1260,14 +1259,6 @@ const canEditExistingRows = computed( !!props.customSave || canEditExistingTableRows(props.databaseType, hiveTableTransactional.value, props.tableMeta?.primaryKeys ?? []), ); -const showKeylessEditWarning = computed( - () => - props.context === "table-data" && - !!props.editable && - !!props.tableMeta && - props.tableMeta.primaryKeys.length === 0 && - usesKeylessRowPredicate(props.databaseType), -); watch( () => [props.databaseType, props.connectionId, props.database, props.tableMeta?.schema, props.tableMeta?.tableName], async () => { @@ -3210,19 +3201,6 @@ defineExpose({ {{ queryEditabilityHint }} - - - - - {{ t("grid.keylessEditWarning") }} - - - - {{ t("grid.keylessEditWarningHint") }} - -