Protect against crash in EventlogList component on quick unloads
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user