Mercurial > gemma
comparison client/src/store/imports.js @ 1468:5e1218b5a123 bulkreview
proof of concept
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 29 Nov 2018 12:09:01 +0100 |
parents | da7ee82ad5d6 |
children | c89a18f8027d |
comparison
equal
deleted
inserted
replaced
1413:c5e004b97394 | 1468:5e1218b5a123 |
---|---|
15 import { HTTP } from "../lib/http"; | 15 import { HTTP } from "../lib/http"; |
16 | 16 |
17 /* eslint-disable no-unused-vars */ | 17 /* eslint-disable no-unused-vars */ |
18 /* eslint-disable no-unreachable */ | 18 /* eslint-disable no-unreachable */ |
19 const STATES = { | 19 const STATES = { |
20 NEEDSAPPROVAL: "NEEDSAPPROVAL", | 20 NEEDSAPPROVAL: "pending", |
21 APPROVED: "APPROVED", | 21 APPROVED: "accepted", |
22 REJECTED: "REJECTED" | 22 REJECTED: "rejected" |
23 }; | 23 }; |
24 | 24 |
25 // initial state | 25 // initial state |
26 const init = () => { | 26 const init = () => { |
27 return { | 27 return { |