Added support to rename columns in Views. #6380

This commit is contained in:
Akshay Joshi
2024-01-22 12:27:01 +05:30
parent 93d25eea0b
commit 81fccc87b5
2 changed files with 2 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ export default class ColumnSchema extends BaseUISchema {
inSchemaWithColumnCheck(state) {
// disable all fields if column is listed under view or mview
if (this.nodeInfo && ('view' in this.nodeInfo || 'mview' in this.nodeInfo)) {
if (this.nodeInfo && (('view' in this.nodeInfo && this.nodeInfo?.server?.version < 130000) || 'mview' in this.nodeInfo)) {
return true;
}