Skip to content

Commit

Permalink
fix Component URI
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmachuca committed May 11, 2023
1 parent 3cd59ec commit 183f80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QCObjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -3381,7 +3381,7 @@
* @param params an object with the params to build the uri path
*/
var ComponentURI = ({TPL_SOURCE ,COMPONENTS_BASE_PATH, COMPONENT_NAME, TPLEXTENSION}) => {
const templateURI = (TPL_SOURCE === "default")?(`${COMPONENTS_BASE_PATH}${COMPONENT_NAME}${TPLEXTENSION}`):("");
const templateURI = (TPL_SOURCE === "default")?(`${COMPONENTS_BASE_PATH}${COMPONENT_NAME}.${TPLEXTENSION}`):("");
return templateURI;
};

Expand Down

0 comments on commit 183f80c

Please sign in to comment.