mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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
Block a user