Skip to content

Commit

Permalink
showing a message when no locale is setup (#1685)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadakchap authored Apr 21, 2021
1 parent 63cab5b commit 9698c72
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/dashboard/Push/PushNew.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,13 @@ class PushNew extends DashboardView {
})}
</div>
{ !this.state.loadingLocale && this.state.availableLocales.length === 0 ?
null :
<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> :
<Button
progress={this.state.loadingLocale}
disabled={this.state.availableLocales.length === 0}
Expand Down

0 comments on commit 9698c72

Please sign in to comment.