Browse Source

fix: add missing else statement

Re #2776

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/2751/head
mertmit 2 years ago
parent
commit
cfe77987c0
  1. 3
      packages/nocodb/src/lib/meta/api/columnApis.ts

3
packages/nocodb/src/lib/meta/api/columnApis.ts

@ -662,7 +662,7 @@ export async function columnUpdate(req: Request, res: Response<TableType>) {
NcError.notImplemented(
`Updating ${colBody.uidt} => ${colBody.uidt} is not implemented`
);
} if(
} else if(
[
UITypes.SingleSelect,
UITypes.MultiSelect
@ -866,7 +866,6 @@ export async function columnUpdate(req: Request, res: Response<TableType>) {
});
} else {
colBody = getColumnPropsFromUIDT(colBody, base);
const tableUpdateBody = {
...table,
tn: table.table_name,

Loading…
Cancel
Save