Skip to content

Commit

Permalink
fix: update the lg content to store when editor editing (#1884)
Browse files Browse the repository at this point in the history
  • Loading branch information
lei9444 authored and a-b-r-o-w-n committed Jan 24, 2020
1 parent b79de4f commit e37510e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Composer/packages/client/src/store/reducer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const updateLgTemplate: ReducerFunc = (state, { id, content }) => {
} catch (err) {
diagnostics.push(new Diagnostic(err.message, id, DiagnosticSeverity.Error));
}
return { ...lgFile, templates, diagnostics };
return { ...lgFile, templates, diagnostics, content };
}
return lgFile;
});
Expand Down

0 comments on commit e37510e

Please sign in to comment.