thevahidal / soul-studio

Web GUI for Soul
https://github.com/thevahidal/soul
MIT License
30 stars 0 forks source link

[BUG] Soul Studio wont load properly just because there's 0 tables in database #2

Closed IanMayo closed 1 month ago

IanMayo commented 1 month ago

Source of problem: https://github.com/thevahidal/soul/blob/82cf9d42230dfa0ee78d17f3ef4cb3f78922d021/studio/src/routes/%2Bpage.svelte#L26-L29

Potential solution: Handle empty array.

( copied from https://github.com/thevahidal/soul/issues/94, submitted by https://github.com/HanzCEO )

thevahidal commented 1 month ago

Hey @IanMayo, I'm considering a rewrite of Soul Studio with React instead of Svelte, and for that, I'm hesitant to do fixes on the current version. This one is a simple fix though and if it's a bother to you guys I can fix it.

IanMayo commented 1 month ago

Hello @thevahidal - no, it's no bother at all to us. I was just trying to ensure the issue didn't fall through the cracks.

Your React strategy sounds fine.