just admns can load modlist

This commit is contained in:
HF 2020-12-03 03:48:17 +01:00
parent a2a2fcba82
commit 2f04d24452

View File

@ -189,7 +189,7 @@ function Admintools({
}
useEffect(() => {
if (userlvl) {
if (userlvl === 1) {
getModList((mods) => setModList(mods));
}
}, []);