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:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user