lusingander / stu

TUI explorer application for Amazon S3 (AWS S3) 🪣
https://lusingander.github.io/stu/
MIT License
245 stars 8 forks source link

Crashes on empty bucket #10

Closed Nebucatnetzer closed 5 months ago

Nebucatnetzer commented 6 months ago

I tested it against an empty bucket and it crashed with the following message:

thread 'main' panicked at src/pages/object_list.rs:151:17:
selected index 0 is out of range 0
lusingander commented 6 months ago

Thank you for your report. Seems to be a regression in v0.4.2 😢

lusingander commented 5 months ago

https://github.com/lusingander/stu/commit/52c87450e18137e4cd9f704002098893b8d85128

It will be released in the next version.