FIX: show 'quote' button when topic is closed but composer is open (#11054)
This commit is contained in:
parent
dbec3792b7
commit
6d4cfbf120
|
@ -254,7 +254,7 @@ export default Component.extend({
|
||||||
return getAbsoluteURL(postUrl(topic.slug, topic.id, quoteState.postId));
|
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) {
|
embedQuoteButton(canCreatePost, composerOpened) {
|
||||||
return (
|
return (
|
||||||
(canCreatePost || composerOpened) &&
|
(canCreatePost || composerOpened) &&
|
||||||
|
|
Loading…
Reference in New Issue