Skip to content

Commit

Permalink
fix dialog displayname
Browse files Browse the repository at this point in the history
  • Loading branch information
lei9444 committed Mar 12, 2021
1 parent 7dc117b commit c2844a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const dialogsDispatcher = () => {
const { set, snapshot } = callbackHelpers;
const fixedContent = JSON.parse(autofixReferInDialog(id, JSON.stringify(content)));
const schemas = await snapshot.getPromise(schemasState(projectId));
const dialog = { isRoot: false, displayName: id, ...dialogIndexer.parse(id, fixedContent) };
const dialog = { isRoot: false, ...dialogIndexer.parse(id, fixedContent) };

if (typeof dialog.content === 'object') {
dialog.content.id = id;
Expand Down

0 comments on commit c2844a2

Please sign in to comment.