mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-28 19:45:22 +00:00
fix: extended fix for gql & improved ui part
Signed-off-by: mertmit <mertmit99@gmail.com>
This commit is contained in:
@@ -176,14 +176,15 @@ export default class GqlApi {
|
||||
return { list, count }
|
||||
}
|
||||
|
||||
async update(id, data, oldData, params = {}) {
|
||||
async update(id, data, oldData, cellSaved = false, params = {}) {
|
||||
const data1 = await this.post(`/nc/${this.$ctx.projectId}/v1/graphql`, {
|
||||
query: `mutation update($id:String!, $data:${this.tableCamelized}Input){
|
||||
${this.gqlMutationUpdateName}(id: $id, data: $data){${this.gqlReqBody}${await this.gqlRelationReqBody(params)}}
|
||||
}`,
|
||||
variables: {
|
||||
id, data
|
||||
}
|
||||
},
|
||||
_cellSaved: cellSaved
|
||||
})
|
||||
|
||||
const colName = Object.keys(data)[0]
|
||||
|
||||
Reference in New Issue
Block a user