File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -596,14 +596,15 @@ class PushNew extends DashboardView {
596
596
key = { i } /> ) ;
597
597
} ) }
598
598
</ div >
599
- { ! this . state . loadingLocale && this . state . availableLocales . length === 0 ?
599
+ { ! this . state . loadingLocale && this . state . locales . length === 0 ?
600
600
< a
601
601
href = "https://github.com/parse-community/parse-dashboard#configuring-localized-push-notifications"
602
602
style = { { color : '#169CEE' } }
603
603
target = '_blank'
604
604
>
605
605
Please follow this guide to setup the push locales feature
606
606
</ a > :
607
+ ! this . state . loadingLocale && this . state . availableLocales . length === 0 ? null :
607
608
< Button
608
609
progress = { this . state . loadingLocale }
609
610
disabled = { this . state . availableLocales . length === 0 }
You can’t perform that action at this time.
0 commit comments