|
|
@ -2275,10 +2275,7 @@ export class ColumnsService { |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
case UITypes.SingleSelect: { |
|
|
|
case UITypes.SingleSelect: { |
|
|
|
if ( |
|
|
|
if (await KanbanView.IsColumnBeingUsedAsGroupingField(column.id)) { |
|
|
|
column.uidt === UITypes.SingleSelect && |
|
|
|
|
|
|
|
(await KanbanView.IsColumnBeingUsedAsGroupingField(column.id)) |
|
|
|
|
|
|
|
) { |
|
|
|
|
|
|
|
NcError.badRequest( |
|
|
|
NcError.badRequest( |
|
|
|
`The column '${column.column_name}' is being used in Kanban View. Please delete Kanban View first.`, |
|
|
|
`The column '${column.column_name}' is being used in Kanban View. Please delete Kanban View first.`, |
|
|
|
); |
|
|
|
); |
|
|
|