aboutsummaryrefslogtreecommitdiff
path: root/mobile/screens/Form1.js
diff options
context:
space:
mode:
authorKumar Damani <kumar.damani@mail.utoronto.ca>2019-03-28 00:59:22 +0000
committerKumar Damani <kumar.damani@mail.utoronto.ca>2019-03-28 00:59:22 +0000
commit6112f6e099cffd5f1ee1a662398e8eb93bd0525d (patch)
tree934816e19713080d5815827e6e0b221d8251ae78 /mobile/screens/Form1.js
parent858a8dee86de2b2a3214f895dbab850308fd23dc (diff)
saving status of point in db. loading only new or pending points in home page
Diffstat (limited to 'mobile/screens/Form1.js')
-rw-r--r--mobile/screens/Form1.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile/screens/Form1.js b/mobile/screens/Form1.js
index a14d647..e989ea9 100644
--- a/mobile/screens/Form1.js
+++ b/mobile/screens/Form1.js
@@ -101,7 +101,8 @@ export default class Form1 extends Component {
race : values.race,
longhair : values.longhair,
longbeard : values.longbeard,
- extra : (values.extra) ? values.extra : ""
+ extra : (values.extra) ? values.extra : "",
+ status : "new"
}),
});
//// TODO: handle the response from the serve and decide what to display