Skip to content

Commit

Permalink
Merge pull request #27 from i0natan/20
Browse files Browse the repository at this point in the history
add comming soon tooltip and fix package-lock.json
  • Loading branch information
davidie1 authored Apr 9, 2019
2 parents 2c0738c + 83fffdb commit 7a3a929
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chaos-monkey",
"version": "0.7.0",
"version": "0.7.1",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions ui/src/components/Dashboard.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/** @format */

import React from 'react';
import ReactTooltip from 'react-tooltip'

import Header from './Header';
import Menu from './Menu';
Expand All @@ -13,6 +14,9 @@ import Row from 'react-bootstrap/lib/Row';
const Dashboard = ({children, name}) => {
return (
<Container fluid>
<ReactTooltip id="commingSoon">
<span>Comming soon</span>
</ReactTooltip>/>
<Header />
<Breadcrumbs name={name} />
<Row>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/DefineApi/DefineApi.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class DefineApi extends Component {
ref="fileUploader"
style={{display: 'none'}}
/>
<Button variant="outline-success" onClick={this.handleFile}>
<Button variant="outline-success" onClick={this.handleFile} data-tip data-for="commingSoon">
Import Swagger
</Button>
</Col>
Expand Down

0 comments on commit 7a3a929

Please sign in to comment.