Skip to content

Commit 7bf3c3f

Browse files
authored
Merge pull request #8573 from filipesilva/issue-8562
fix: fallback to :printed-title on preview
2 parents a5da8b5 + ee0d5e1 commit 7bf3c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cljs/nr/gameboard/card_preview.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
(defn put-game-card-in-channel
1919
[card channel]
20-
(if-let [server-card (get-in @app-state [:all-cards-and-flips (:title card)])]
20+
(if-let [server-card (get-in @app-state [:all-cards-and-flips (or (:title card) (:printed-title card))])]
2121
(put! channel (merge server-card card))
2222
(put! channel card))
2323
nil)

0 commit comments

Comments
 (0)