FIX: call `getURL` method explicitly to prevent `this` context override.
This commit is contained in:
parent
faeb5793ba
commit
60a3110113
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue