Skip to content

Commit

Permalink
hiding setup locales msg (parse-community#1691)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadakchap authored and Arul- committed May 4, 2021
1 parent 1d91ea1 commit eb17f39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dashboard/Push/PushNew.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -596,14 +596,15 @@ class PushNew extends DashboardView {
key={i} />);
})}
</div>
{ !this.state.loadingLocale && this.state.availableLocales.length === 0 ?
{ !this.state.loadingLocale && this.state.locales.length === 0 ?
<a
href="https://github.com/parse-community/parse-dashboard#configuring-localized-push-notifications"
style={{ color: '#169CEE'}}
target='_blank'
>
Please follow this guide to setup the push locales feature
</a> :
!this.state.loadingLocale && this.state.availableLocales.length === 0 ? null :
<Button
progress={this.state.loadingLocale}
disabled={this.state.availableLocales.length === 0}
Expand Down

0 comments on commit eb17f39

Please sign in to comment.