DEV: Add back-compat to recently converted computed props (#29508)

This commit is contained in:
Jarek Radosz
2024-10-31 12:25:21 +01:00
committed by GitHub
parent 0ad1c02932
commit b44b136b84

View File

@@ -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"));
}