mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06:00
DEV: Add back-compat to recently converted computed props (#29508)
This commit is contained in:
parent
0ad1c02932
commit
b44b136b84
@ -267,10 +267,12 @@ export default class Composer extends RestModel {
|
||||
return categoryId ? Category.findById(categoryId) : null;
|
||||
}
|
||||
|
||||
@dependentKeyCompat
|
||||
get replyingToTopic() {
|
||||
return this.get("action") === REPLY;
|
||||
}
|
||||
|
||||
@dependentKeyCompat
|
||||
get editingPost() {
|
||||
return isEdit(this.get("action"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user