FIX: Don't use `Discourse` global (#66)
Discourse.SiteSettings should be this.siteSettings.
This commit is contained in:
parent
ccd9454da8
commit
3fb597a4cf
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue