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 01:15:57 +0000
commitbc966b5e2a4502bf8ad8c7eea9f52ae79f75db87 (patch)
tree03da9f18fe70400f1aa93a177a2e260c48f2b2d9 /mobile/screens/Form1.js
parent4fa6bdbf7f89ff788b231caef84575daabc0ef9f (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