Browse Source

fix(nocodb): PR review changes #2402

pull/7722/head
Ramesh Mane 10 months ago
parent
commit
2dd44b4ef6
  1. 5
      packages/nocodb/src/services/columns.service.ts

5
packages/nocodb/src/services/columns.service.ts

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

Loading…
Cancel
Save