Skip to content

Commit

Permalink
Merge pull request #52 from glific/feature/result-name-update
Browse files Browse the repository at this point in the history
Updated default result name and updates package
  • Loading branch information
mdshamoon authored Sep 2, 2021
2 parents 66f7beb + ca5e418 commit bcf78c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@glific/flow-editor",
"license": "AGPL-3.0",
"repository": "git://github.com/glific/floweditor.git",
"version": "1.13.9-11",
"version": "1.13.9-12",
"description": "'Standalone flow editing tool designed for use within the Glific suite of messaging tools'",
"browser": "umd/flow-editor.min.js",
"unpkg": "umd/flow-editor.min.js",
Expand Down
2 changes: 1 addition & 1 deletion src/store/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const getActionIndex = (node: FlowNode, actionUUID: string) => {
throw new Error('Cannot find action ' + actionUUID);
};

export const getSuggestedResultName = (count: number) => `Result ${count}`;
export const getSuggestedResultName = (count: number) => `result_${count}`;

export const hasRouter = (renderNode: RenderNode): boolean => {
return !!(renderNode && renderNode.node.router);
Expand Down

0 comments on commit bcf78c7

Please sign in to comment.