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; 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.`,
); );

Loading…
Cancel
Save