]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/protocol/Item.js
better protocol icons
[alttp.git] / resources / js / components / protocol / Item.js
index 3b16eeb11c9da1307a9f7b142affaba2e89c7060..2eaae5b6c3cecf7700f533d79155de1974e04903 100644 (file)
@@ -56,6 +56,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 />;
        }