fix(query): support editing distinct results
This commit is contained in:
1 parent
a9428e3c73
commit
cb6350bef6
5 files changed
+119
-71
No files matched your search
@@ -223,7 +223,7 @@ function cloneAnalysisForSource(analysis: EditableQueryInfo, source: EditableQue
|
||||
tableNameQuoted: source.tableNameQuoted,
|
||||
tableAlias: source.alias,
|
||||
editableSourceKey: source.key,
|
||||
allowInsertDelete: analysis.sources?.length ? false : analysis.allowInsertDelete,
|
||||
allowInsertDelete: analysis.sources?.length || analysis.distinct ? false : analysis.allowInsertDelete,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user