Skip to content

Commit

Permalink
Bugfix/GitHub crash demo test runner (#117)
Browse files Browse the repository at this point in the history
* Fixed github browser issue in demo test runner

* Bumped up the version
  • Loading branch information
vijayg10 authored Aug 26, 2021
1 parent ee2f64a commit b6fa54f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ml-testing-toolkit-ui",
"version": "13.4.0",
"version": "13.4.1",
"description": "Mojaloop Testing Toolkit Web User Interface",
"main": "index.js",
"repository": {
Expand Down
4 changes: 3 additions & 1 deletion src/views/demos/DemoTestRunner/DemoTestRunner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { SettingOutlined } from '@ant-design/icons';
import 'antd/dist/antd.css';
import axios from 'axios';
import TestCaseViewer from '../../outbound/TestCaseViewer'
import { getConfig } from '../../../utils/getConfig'
import { fetchServerConfig, getConfig } from '../../../utils/getConfig'
import FileManager from "../../outbound/FileManager.jsx";
import EnvironmentManager from '../../outbound/EnvironmentManager'
import Monitor from '../../monitor/Monitor'
Expand Down Expand Up @@ -95,6 +95,8 @@ class OutboundRequest extends React.Component {
}

componentDidMount = async () => {
await fetchServerConfig()

this.environmentFileSelector = buildFileSelector();
this.environmentFileSelector.addEventListener('input', (e) => {
if (e.target.files) {
Expand Down

0 comments on commit b6fa54f

Please sign in to comment.