Skip to content

Commit

Permalink
fix(config-ui): missed entities when upgraded (#6293)
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsweet authored and action_bot committed Oct 20, 2023
1 parent 972753f commit d8e7ccc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const ScopeConfigForm = ({
try {
const res = await API.getScopeConfig(plugin, connectionId, scopeConfigId);
setName(res.name);
setEntities(res.entities);
setEntities(res.entities ?? []);
setTransformation(omit(res, ['id', 'connectionId', 'name', 'entities', 'createdAt', 'updatedAt']));
} catch {}
})();
Expand Down

0 comments on commit d8e7ccc

Please sign in to comment.