Commit 8cc222e
MMelchor
fix: [257] unnecessary repetitive requests using the search bar
Assigning the search query value to the variable used to fetch the searched torrents is now done through
the onActivated hook, avoiding triggering the watchers, and thus, not making another unnecessary fetch request
to the back-end, getting the torrents only once.1 parent 67a7bcd commit 8cc222e
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
| |||
0 commit comments