Fixed User Loading Bug
Manchmal wurden User im Input Form nicht richtig geladen. Dieser Bug ist hiermit behoben
This commit is contained in:
@@ -40,9 +40,7 @@ export default function InputForm(p) {
|
||||
let url = baseURL + "/users/all?sessionid=" + localStorage.getItem("sessionid")
|
||||
fetch(url).then(r => r.json()).then(u => {
|
||||
setUsers(u)
|
||||
})
|
||||
|
||||
|
||||
}).then(() => {
|
||||
let tempSemesterNumber = 0
|
||||
if(localStorage.getItem("currentsid") != 0)
|
||||
{
|
||||
@@ -85,6 +83,7 @@ export default function InputForm(p) {
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
}, [])
|
||||
|
||||
function onButtonAbort(e) {
|
||||
|
||||
Reference in New Issue
Block a user