(templateValue)
| 311 | } |
| 312 | |
| 313 | const getJSONValue = (templateValue) => { |
| 314 | if (!templateValue) return '' |
| 315 | const obj = {} |
| 316 | const inputVariables = getInputVariables(templateValue) |
| 317 | for (const inputVariable of inputVariables) { |
| 318 | obj[inputVariable] = '' |
| 319 | } |
| 320 | if (Object.keys(obj).length) return JSON.stringify(obj) |
| 321 | return '' |
| 322 | } |
| 323 | |
| 324 | const getDataGridColDef = (columns, inputParam) => { |
| 325 | const colDef = [] |
no test coverage detected