aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/quote-hide-oops.fix1
-rw-r--r--src/components/status_content/status_content.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/quote-hide-oops.fix b/changelog.d/quote-hide-oops.fix
new file mode 100644
index 00000000..d93c0d29
--- /dev/null
+++ b/changelog.d/quote-hide-oops.fix
@@ -0,0 +1 @@
+fix typo in code that prevented cards from showing at all
diff --git a/src/components/status_content/status_content.js b/src/components/status_content/status_content.js
index c01b80af..8d8a91dc 100644
--- a/src/components/status_content/status_content.js
+++ b/src/components/status_content/status_content.js
@@ -75,7 +75,7 @@ const StatusContent = {
...controlledOrUncontrolledGetters(['showingTall', 'expandingSubject', 'showingLongSubject']),
statusCard () {
if (!this.status.card) return null
- return this.status.card.url === this.status.quote_url ? null : status.card
+ return this.status.card.url === this.status.quote_url ? null : this.status.card
},
hideAttachments () {
return (this.mergedConfig.hideAttachments && !this.inConversation) ||