commit: 8f87a1506964e1b6dafc662f896e4332cd50eee9
parent 765fdbe8ab695820efed0c11f7a869abd0f9ccd1
Author: Henry Jameson <me@hjkos.com>
Date: Fri, 13 Oct 2023 12:37:50 +0300
oops
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/changelog.d/quote-hide-oops.fix 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
@@ -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) ||