Protect against crash in EventlogList component on quick unloads

This commit is contained in:
Johannes Zellner
2026-02-24 10:28:13 +01:00
parent 4be31b0dad
commit 7ded517b20
+1 -1
View File
@@ -165,7 +165,7 @@ onMounted(async () => {
onRefresh();
while (eventlogContainer.value.scrollHeight <= eventlogContainer.value.offsetHeight) {
while (eventlogContainer.value && eventlogContainer.value.scrollHeight <= eventlogContainer.value.offsetHeight) {
await fetchMore();
}
});