chore: small fixes to cockpit

This commit is contained in:
Jonathan Rainville 2019-11-20 11:57:09 -05:00
parent d5ebdafb55
commit ebdd573548
3 changed files with 3 additions and 1 deletions

View File

@ -65,6 +65,7 @@
"connected-react-router": "4.5.0", "connected-react-router": "4.5.0",
"date-fns": "2.3.0", "date-fns": "2.3.0",
"embark-api-client": "^5.0.0-alpha.1", "embark-api-client": "^5.0.0-alpha.1",
"eslint-plugin-import": "2.18.2",
"ethereumjs-units": "0.2.0", "ethereumjs-units": "0.2.0",
"find-up": "4.1.0", "find-up": "4.1.0",
"font-awesome": "4.7.0", "font-awesome": "4.7.0",

View File

@ -115,6 +115,7 @@ class Console extends Component {
</Logs> </Logs>
{process.name === "embark" && {process.name === "embark" &&
<AsyncTypeahead <AsyncTypeahead
id="console-typeahead"
autoFocus={true} autoFocus={true}
emptyLabel={false} emptyLabel={false}
labelKey="value" labelKey="value"

View File

@ -1,6 +1,6 @@
import EmbarkAPI from 'embark-api-client'; import EmbarkAPI from 'embark-api-client';
const embarkAPI = new EmbarkAPI() const embarkAPI = new EmbarkAPI();
export function postCommand() { export function postCommand() {
return embarkAPI.postCommand(...arguments) return embarkAPI.postCommand(...arguments)