瀏覽代碼

Merge branch 'quotes-hide-card' into 'develop'

oops

See merge request pleroma/pleroma-fe!1859
HJ 1 年之前
父節點
當前提交
4c11ac9a27
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      changelog.d/quote-hide-oops.fix
  2. 1 1
      src/components/status_content/status_content.js

+ 1 - 0
changelog.d/quote-hide-oops.fix

@@ -0,0 +1 @@
+fix typo in code that prevented cards from showing at all

+ 1 - 1
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) ||