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 {
596596 key = { i } /> ) ;
597597 } ) }
598598 </ div >
599- { ! this . state . loadingLocale && this . state . availableLocales . length === 0 ?
599+ { ! this . state . loadingLocale && this . state . locales . length === 0 ?
600600 < a
601601 href = "https://github.com/parse-community/parse-dashboard#configuring-localized-push-notifications"
602602 style = { { color : '#169CEE' } }
603603 target = '_blank'
604604 >
605605 Please follow this guide to setup the push locales feature
606606 </ a > :
607+ ! this . state . loadingLocale && this . state . availableLocales . length === 0 ? null :
607608 < Button
608609 progress = { this . state . loadingLocale }
609610 disabled = { this . state . availableLocales . length === 0 }
You can’t perform that action at this time.
0 commit comments