Commit 69f73d3
committed
perf(content_management): prevent redundant API calls for topics
- Add a condition to check if topics are already loaded and it's not a pagination request
- If the condition is met, the function returns early without making a new API call
- This optimization reduces unnecessary network requests when switching tabs1 parent aa92f02 commit 69f73d3
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
177 | 185 | | |
178 | 186 | | |
179 | 187 | | |
| |||
0 commit comments