mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 00:02:23 +00:00
a8fa0cccef
VirtualList crashes with 'Requested index 0 is outside of range 0..0' when it mounts with itemCount=0 and a positive height. This happened because the old condition allowed VirtualList to remount during loading with zero items but a stale listDivHeight from a previous mount. Change the guard to displayedFileKeys.length === 0 so VirtualList is never rendered when there are no items. Show a centered loading spinner or "no files" message instead. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Windmill frontend
The Windmill frontend written in Svelte 5 + Tailwind CSS
The frontend is under AGPL, see the LICENSE file at the root of this repo