1
0
Fork 0
mirror of synced 2024-08-19 03:51:29 +12:00

Fix issue with not being able to update component names

This commit is contained in:
Andrew Kingston 2022-12-06 15:32:50 +00:00
parent 74a8eba2fa
commit 07347420e7

View file

@ -1049,8 +1049,8 @@ export const getFrontendStore = () => {
const updatedSetting = settings.find(setting => setting.key === name)
if (
updatedSetting.type === "dataSource" ||
updatedSetting.type === "table"
updatedSetting?.type === "dataSource" ||
updatedSetting?.type === "table"
) {
const { schema } = getSchemaForDatasource(null, value)
const columnNames = Object.keys(schema || {})