summaryrefslogtreecommitdiff
path: root/frontend/views/index/components/graph.form.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/views/index/components/graph.form.js')
-rw-r--r--frontend/views/index/components/graph.form.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/views/index/components/graph.form.js b/frontend/views/index/components/graph.form.js
index ef546ec..a6a0dd6 100644
--- a/frontend/views/index/components/graph.form.js
+++ b/frontend/views/index/components/graph.form.js
@@ -68,8 +68,8 @@ export default class GraphForm extends Component {
e.preventDefault()
const { isNew, onSubmit } = this.props
const { data } = this.state
- const requiredKeys = "title username".split(" ")
- const validKeys = "title username notes archived".split(" ")
+ const requiredKeys = "title username path description".split(" ")
+ const validKeys = "title username path description".split(" ")
const validData = validKeys.reduce((a,b) => { a[b] = data[b]; return a }, {})
const errorFields = requiredKeys.filter(key => !validData[key])
if (errorFields.length) {