Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions aselo-webchat-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"start:e2e_dev": "cross-env REACT_APP_CONFIG_URL='http://localhost:9090/e2e/development.json' REACT_APP_FORM_DEFINITIONS_BASE_URL='http://localhost:8091' run-p dev:merge-configs dev:local-config-server dev:local-form-definition-server start",
"start:mt_stg": "cross-env REACT_APP_CONFIG_URL='http://localhost:9090/mt/staging.json' REACT_APP_FORM_DEFINITIONS_BASE_URL='http://localhost:8091' run-p staging:merge-configs dev:local-config-server dev:local-form-definition-server start",
"start:jm_stg": "cross-env REACT_APP_CONFIG_URL='http://localhost:9090/jm/staging.json' REACT_APP_FORM_DEFINITIONS_BASE_URL='http://localhost:8091' run-p staging:merge-configs dev:local-config-server dev:local-form-definition-server start",
"start:zw_stg": "cross-env REACT_APP_CONFIG_URL='http://localhost:9090/zw/staging.json' REACT_APP_FORM_DEFINITIONS_BASE_URL='http://localhost:8091' run-p staging:merge-configs dev:local-config-server dev:local-form-definition-server start",
"start:uscr_stg": "cross-env REACT_APP_CONFIG_URL='http://localhost:9090/uscr/staging.json' REACT_APP_FORM_DEFINITIONS_BASE_URL='http://localhost:8091' run-p staging:merge-configs dev:local-config-server dev:local-form-definition-server start",
"start:ca_stg": "cross-env REACT_APP_CONFIG_URL='http://localhost:9090/ca/staging.json' REACT_APP_FORM_DEFINITIONS_BASE_URL='http://localhost:8091' run-p staging:merge-configs dev:local-config-server dev:local-form-definition-server start",
"build": "react-app-rewired build",
Expand Down
7 changes: 7 additions & 0 deletions plugin-hrm-form/src/HrmFormPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@ export default class HrmFormPlugin extends FlexPlugin {
* Use this to modify any UI components or attach to the actions framework
*/
async init(flex: typeof Flex, manager: Flex.Manager) {
const script = document.createElement('script');

script.src = 'https://cdn.userway.org/widget.js';
script.dataset.account = 'wrsnwawFhK';
script.async = true;

document.body.appendChild(script);
Comment on lines +195 to +201
loadCSS('https://use.fontawesome.com/releases/v5.15.4/css/solid.css');

setUpFullStory(manager.workerClient, manager.serviceConfiguration);
Expand Down
Loading