We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfc067e commit 5c43d6cCopy full SHA for 5c43d6c
src/dashboard/Push/PushNew.react.js
@@ -596,14 +596,15 @@ class PushNew extends DashboardView {
596
key={i} />);
597
})}
598
</div>
599
- { !this.state.loadingLocale && this.state.availableLocales.length === 0 ?
+ { !this.state.loadingLocale && this.state.locales.length === 0 ?
600
<a
601
href="https://github.com/parse-community/parse-dashboard#configuring-localized-push-notifications"
602
style={{ color: '#169CEE'}}
603
target='_blank'
604
>
605
Please follow this guide to setup the push locales feature
606
</a> :
607
+ !this.state.loadingLocale && this.state.availableLocales.length === 0 ? null :
608
<Button
609
progress={this.state.loadingLocale}
610
disabled={this.state.availableLocales.length === 0}
0 commit comments