Skip to content

Commit

Permalink
fix(config-ui): missed entities when upgraded (#6287)
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsweet authored Oct 19, 2023
1 parent 3db7886 commit 6bc79fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,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 6bc79fe

Please sign in to comment.