Skip to content

Commit

Permalink
Merge pull request activepieces#4447 from activepieces/fix/template
Browse files Browse the repository at this point in the history
fix: export template not showing correct json
  • Loading branch information
abuaboud authored Apr 12, 2024
2 parents ce041bb + 70d44e5 commit ab76c3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/ui/common/src/lib/utils/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const downloadJson = (obj: any, fileName: string) => {
};

export const downloadFlow = (flow: FlowTemplate) => {
downloadJson(flow, flow.name);
downloadJson(JSON.stringify(flow, null, 2), flow.name);
};

export const jsonEditorOptionsMonaco = {
Expand Down

0 comments on commit ab76c3e

Please sign in to comment.