X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fprotocol%2FItem.js;h=7dba2a3bed06c7aeacb0ccae6db90efd7415e3f1;hb=e5192dadab765ecf0cdb877e0497293e0c9f1e45;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..7dba2a3 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,12 @@ const getEntryDescription = entry => {
number: getEntryRoundNumber(entry),
},
);
+ case 'tournament.close':
+ case 'tournament.discord':
case 'tournament.lock':
+ case 'tournament.open':
+ case 'tournament.settings':
+ case 'tournament.unlock':
return i18n.t(
`protocol.description.${entry.type}`,
entry,
@@ -91,10 +101,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 ;
}