Commit 62daf16b by t0ng7u

fix: ensure table shows correct loading state on first render & during search

Frontend (`ChannelsTable.js`)
1. Initialize `loading` state to `true` so the spinner is visible while the first data request is in-flight.
2. Set `<Table>` prop `loading={loading || searching}` — the spinner now appears for both the initial load and any subsequent search requests.

Result
Users immediately see a loading indicator on page entry and whenever a search is running, improving perceived responsiveness.
parent d19ab54e
...@@ -1876,7 +1876,7 @@ const ChannelsTable = () => { ...@@ -1876,7 +1876,7 @@ const ChannelsTable = () => {
} }
className="rounded-xl overflow-hidden" className="rounded-xl overflow-hidden"
size="middle" size="middle"
loading={loading} loading={loading || searching}
/> />
</Card> </Card>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment