Parcourir la source

stop fetching tokens all the time

Roman il y a 3 ans
Parent
commit
dc884b17f8
2 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      fileControlPanel/src/elements/token-list.js
  2. 0 0
      js/files.min.js

+ 1 - 0
fileControlPanel/src/elements/token-list.js

@@ -45,6 +45,7 @@ export function TokenList(props) {
                 setTokens(res.tokens);
             } else {
                 pushAlert(res, "Error fetching tokens");
+                setTokens([]);
             }
         });
     }

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
js/files.min.js


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff