mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-01 18:06:53 +01:00
Merge pull request #139 from kilianstallz/kilianstallz-patch-table-rows
Hotfix quote style on delete-table-rows handler
This commit is contained in:
commit
44a4ca75bd
@ -188,7 +188,7 @@ export default (connections) => {
|
||||
const fieldName = Object.keys(row)[0].includes('.') ? `${params.table}.${params.primary}` : params.primary;
|
||||
|
||||
return typeof row[fieldName] === 'string'
|
||||
? `"${row[fieldName]}"`
|
||||
? `'${row[fieldName]}'`
|
||||
: row[fieldName];
|
||||
}).join(',');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user