mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-11-01 18:19:43 +00:00
Fix match modal question display
This commit is contained in:
1 parent
3e70669a27
commit
e28dcc1592
2 files changed
+6
-4
No files matched your search
@@ -392,7 +392,7 @@ export default function AppLayout() {
|
||||
.eq("id", payload.new.id)
|
||||
.single();
|
||||
|
||||
if (matchWithQuestion) {
|
||||
if (matchWithQuestion && matchWithQuestion.question) {
|
||||
// Track milestone events before adding (so count is accurate)
|
||||
const currentMatchCount = matches.length;
|
||||
if (currentMatchCount === 0) {
|
||||
|
||||
Reference in new issue
Block a user