|
|
@ -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, |
|
|
|