File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
## Parse Dashboard Changelog
2
2
3
+ ### 1.0.7
4
+
5
+ * Fix sending pushes with badge increment
6
+
3
7
### 1.0.6
4
8
5
9
* Send push notifications from the dashboard
Original file line number Diff line number Diff line change 16
16
],
17
17
"homepage" : " https://github.com/ParsePlatform/parse-dashboard" ,
18
18
"bugs" : " https://github.com/ParsePlatform/parse-dashboard/issues" ,
19
- "version" : " 1.0.6 " ,
19
+ "version" : " 1.0.7 " ,
20
20
"repository" : {
21
21
"type" : " git" ,
22
22
"url" : " https://github.com/ParsePlatform/parse-dashboard"
Original file line number Diff line number Diff line change @@ -199,7 +199,9 @@ export default class PushNew extends DashboardView {
199
199
let promise = new Promise ( ) ;
200
200
let payload = { } ;
201
201
payload . alert = changes . data_type === 'json' ? JSON . parse ( changes . data ) : changes . data ;
202
- payload . badge = ! ! changes . increment_badge ;
202
+ if ( ! ! changes . increment_badge ) {
203
+ payload . badge = "Increment" ;
204
+ }
203
205
Parse . Push . send ( {
204
206
where : changes . target || new Parse . Query ( Parse . Installation ) ,
205
207
data : payload ,
You can’t perform that action at this time.
0 commit comments