|
|
|
@ -123,7 +123,10 @@ export class ColumnsService {
|
|
|
|
|
param.column.column_name = sanitizeColumnName(param.column.column_name); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (param.column.column_name.length > mxColumnLength) { |
|
|
|
|
if ( |
|
|
|
|
param.column.column_name && |
|
|
|
|
param.column.column_name.length > mxColumnLength |
|
|
|
|
) { |
|
|
|
|
// - 5 is a buffer for suffix
|
|
|
|
|
let colName = param.column.column_name.slice(0, mxColumnLength - 5); |
|
|
|
|
let suffix = 1; |
|
|
|
|