FIX: Don't use `Discourse` global (#66)

Discourse.SiteSettings should be this.siteSettings.
This commit is contained in:
Jay Pfaffman 2021-05-26 12:33:31 -07:00 committed by GitHub
parent ccd9454da8
commit 3fb597a4cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export default Route.extend({
interval: "month", interval: "month",
type: "recurring", type: "recurring",
isRecurring: true, isRecurring: true,
currency: Discourse.SiteSettings.discourse_subscriptions_currency, currency: this.siteSettings.discourse_subscriptions_currency,
product: product.get("id"), product: product.get("id"),
metadata: { metadata: {
group_name: null, group_name: null,