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

Loading…
Cancel
Save