]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/protocol/Item.js
result comments
[alttp.git] / resources / js / components / protocol / Item.js
index 3b16eeb11c9da1307a9f7b142affaba2e89c7060..74bfa50039cf82ab62c3395d2e2683d2ec1072df 100644 (file)
@@ -44,6 +44,7 @@ const getEntryDescription = entry => {
                                        number: getEntryRoundNumber(entry),
                                },
                        );
+               case 'result.comment':
                case 'tournament.lock':
                        return i18n.t(
                                `protocol.description.${entry.type}`,
@@ -56,6 +57,15 @@ const getEntryDescription = entry => {
 
 const getEntryIcon = entry => {
        switch (entry.type) {
+               case 'result.report':
+                       return <Icon.RESULT />;
+               case 'round.create':
+                       return <Icon.ADD />;
+               case 'round.lock':
+               case 'tournament.lock':
+                       return <Icon.LOCKED />;
+               case 'round.unlock':
+                       return <Icon.UNLOCKED />;
                default:
                        return <Icon.PROTOCOL />;
        }