diff --git a/src/components/Ticker.js b/src/components/Ticker.js index 36dd4830..450d54b2 100644 --- a/src/components/Ticker.js +++ b/src/components/Ticker.js @@ -1,5 +1,5 @@ import React from 'react'; -import {Button, Card, Confirm, Icon, Label} from 'semantic-ui-react'; +import {Button, Card, Confirm, Divider, Icon, Label} from 'semantic-ui-react'; import {deleteTicker} from "../api/Ticker"; import PropTypes from 'prop-types'; import ReactMarkdown from "react-markdown"; @@ -108,6 +108,13 @@ export default class Ticker extends React.Component { + + + + Prepend Time + diff --git a/src/components/TickerForm.js b/src/components/TickerForm.js index 3aa9954b..b5eb276e 100644 --- a/src/components/TickerForm.js +++ b/src/components/TickerForm.js @@ -50,6 +50,8 @@ export default class TickerForm extends React.Component { this.props.ticker.location ); + console.log(formData); + this.updateTicker(formData); } @@ -172,6 +174,13 @@ export default class TickerForm extends React.Component { onChange={(event, input) => this.form.description = input.value} required /> + this.form.prepend_time = input.checked} + />
Information