FIX: call getURL method explicitly to prevent this context override.

This commit is contained in:
Vinoth Kannan 2020-05-24 21:58:03 +05:30
parent faeb5793ba
commit 60a3110113

View File

@ -3,5 +3,7 @@ import Component from "@ember/component";
export default Component.extend({
@discourseComputed("post.url")
postUrl: Discourse.getURL
postUrl(url) {
return Discourse.getURL(url);
}
});