diff --git a/package.json b/package.json index c2cf789e7..70a523566 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,7 @@ "react-day-picker": "^7.0.7", "react-dom": "^15.4.0", "react-select": "^2.0.0", + "react-toastify": "^4.5.2", "scriptjs": "^2.5.7", "shivie8": "^1.0.0", "source-map-support": "^0.4.6", diff --git a/src/clincoded/static/components/app.js b/src/clincoded/static/components/app.js index abd34e556..cb5563fb3 100644 --- a/src/clincoded/static/components/app.js +++ b/src/clincoded/static/components/app.js @@ -3,6 +3,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import createReactClass from 'create-react-class'; import url from 'url'; +import { ToastContainer } from 'react-toastify'; import { content_views } from './globals'; import { Auth0, HistoryAndTriggers } from './mixins'; import { NavbarMixin, Nav, Navbar, NavItem } from '../libs/bootstrap/navigation'; @@ -268,6 +269,7 @@ var App = module.exports = createReactClass({ +
@@ -275,6 +277,7 @@ var App = module.exports = createReactClass({ __html: '\n\n' + jsonScriptEscape(JSON.stringify(this.props.context)) + '\n\n' }}>The above options (gene, disease, mode of inheritance, or adjective) can be altered for a Gene:Disease record up until a PMID has been added to the record. This includes adding an adjective to a Gene:Disease:Mode of inheritance record that has already been created or editing an adjective associated with a record.