File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
backend/functions/src/schema/models/submission
frontend/components/table/special Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1463,7 +1463,7 @@ export class SubmissionService extends PaginatedService {
1463
1463
? relevantErasUpdateLogPost . isWR . isTie
1464
1464
: null ;
1465
1465
1466
- const matchingScores = isTie ?. matchingScores ! ;
1466
+ const matchingScores = isTie ?. matchingScores ;
1467
1467
1468
1468
discordMessageContents . push ( {
1469
1469
content : `<t:${ Math . floor ( submission . happenedOn ) } :D>\n\n${
@@ -1477,7 +1477,7 @@ export class SubmissionService extends PaginatedService {
1477
1477
) } ** by\n\`\`\`yaml\n+ ${ relevantErasUpdateLogPost . currentSubmission . characters . join (
1478
1478
", "
1479
1479
) } \`\`\`\n🔸 ${
1480
- relevantErasUpdateLogPost . isWR
1480
+ relevantErasUpdateLogPost . isWR && matchingScores
1481
1481
? `as a ${ matchingScores } -way tie for`
1482
1482
: "to"
1483
1483
} **${
Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ export default {
78
78
// this.$emit('submit')
79
79
this .$emit (' item-updated' )
80
80
81
+ // refresh any submission interfaces
82
+ this .$root .$emit (' refresh-interface' , ' submission' )
83
+
81
84
this .$notifier .showSnackbar ({
82
85
message: ` Submission Status updated` ,
83
86
variant: ' success' ,
You can’t perform that action at this time.
0 commit comments