X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fprotocol%2FItem.js;h=dba32f52a67533df289eb8ff9dd057d0b81c7976;hb=3e970c52e6a46cf9db4f69c5bec9102da53c0744;hp=18b04cc7d6b96f5f5408f0af2d1e5cd6407038e2;hpb=6f22614d8c68c68c88b44804802cdffeb3c6a3c7;p=alttp.git
diff --git a/resources/js/components/protocol/Item.js b/resources/js/components/protocol/Item.js
index 18b04cc..dba32f5 100644
--- a/resources/js/components/protocol/Item.js
+++ b/resources/js/components/protocol/Item.js
@@ -53,13 +53,17 @@ const getEntryDescription = entry => {
);
case 'result.comment': {
const comment = getEntryResultComment(entry);
+ const number = getEntryRoundNumber(entry);
return
+ {{number}}
{{comment}},
;
}
case 'result.report': {
+ const number = getEntryRoundNumber(entry);
const time = getEntryResultTime(entry);
return
+ {{number}}
{{time}},
;
}
@@ -74,7 +78,11 @@ const getEntryDescription = entry => {
number: getEntryRoundNumber(entry),
},
);
+ case 'tournament.close':
+ case 'tournament.discord':
case 'tournament.lock':
+ case 'tournament.open':
+ case 'tournament.unlock':
return i18n.t(
`protocol.description.${entry.type}`,
entry,
@@ -91,10 +99,15 @@ const getEntryIcon = entry => {
case 'round.create':
return ;
case 'round.lock':
+ case 'tournament.close':
case 'tournament.lock':
return ;
case 'round.unlock':
+ case 'tournament.open':
+ case 'tournament.unlock':
return ;
+ case 'tournament.discord':
+ return ;
default:
return ;
}