Fix issue with not being able to update component names
This commit is contained in:
parent
a8d128ac26
commit
c6172ccd2d
|
@ -1049,8 +1049,8 @@ export const getFrontendStore = () => {
|
||||||
const updatedSetting = settings.find(setting => setting.key === name)
|
const updatedSetting = settings.find(setting => setting.key === name)
|
||||||
|
|
||||||
if (
|
if (
|
||||||
updatedSetting.type === "dataSource" ||
|
updatedSetting?.type === "dataSource" ||
|
||||||
updatedSetting.type === "table"
|
updatedSetting?.type === "table"
|
||||||
) {
|
) {
|
||||||
const { schema } = getSchemaForDatasource(null, value)
|
const { schema } = getSchemaForDatasource(null, value)
|
||||||
const columnNames = Object.keys(schema || {})
|
const columnNames = Object.keys(schema || {})
|
||||||
|
|
Loading…
Reference in New Issue