FIX: show 'quote' button when topic is closed but composer is open (#11054)

This commit is contained in:
Arpit Jalan 2020-10-28 19:25:06 +05:30 committed by GitHub
parent dbec3792b7
commit 6d4cfbf120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ export default Component.extend({
return getAbsoluteURL(postUrl(topic.slug, topic.id, quoteState.postId));
},
@discourseComputed("topic.details.can_create_post", "composer.visible")
@discourseComputed("topic.details.can_create_post", "composerVisible")
embedQuoteButton(canCreatePost, composerOpened) {
return (
(canCreatePost || composerOpened) &&