mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-19 05:09:40 +02:00
fix: duplicate network calls on index page (#2085)
* Prevent extra recipe load on index page * Prevent loading recipes with food for all components but search ones * add missing change in search page
This commit is contained in:
parent
f3a26f864d
commit
f4b819899d
5 changed files with 12 additions and 4 deletions
|
@ -65,7 +65,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
setup(_, context) {
|
||||
const { refreshRecipes } = useRecipes(true, false);
|
||||
const { refreshRecipes } = useRecipes(true, false, true);
|
||||
|
||||
const state = reactive({
|
||||
loading: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue