This commit is contained in:
Timothy J. Baek
2024-05-13 11:27:58 -10:00
parent 1888327a79
commit 7e0d3496b5
3 changed files with 30 additions and 28 deletions
@@ -39,9 +39,9 @@
let selectedReason = null;
let comment = '';
$: if (message.annotation.rating === 1) {
$: if (message?.annotation?.rating === 1) {
reasons = LIKE_REASONS;
} else if (message.annotation.rating === -1) {
} else if (message?.annotation?.rating === -1) {
reasons = DISLIKE_REASONS;
}