X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fprotocol%2FItem.js;h=00da2ef472c27afb8b8be1c55de2c9cd9e361e0a;hb=ac4ef598bf174ff342a261787ba6e9555003cbbb;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..00da2ef 100644
--- a/resources/js/components/protocol/Item.js
+++ b/resources/js/components/protocol/Item.js
@@ -53,17 +53,22 @@ 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}},
;
}
case 'round.create':
+ case 'round.edit':
case 'round.lock':
case 'round.seed':
case 'round.unlock':
@@ -74,7 +79,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 +100,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 ;
}