mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-04 09:25:16 -05: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:
@@ -4,6 +4,7 @@
|
||||
:icon="$globals.icons.primary"
|
||||
:title="$t('general.recent')"
|
||||
:recipes="recentRecipes"
|
||||
:skip-load="true"
|
||||
></RecipeCardSection>
|
||||
</v-container>
|
||||
</template>
|
||||
|
||||
@@ -134,7 +134,7 @@ export default defineComponent({
|
||||
RecipeCardSection,
|
||||
},
|
||||
setup() {
|
||||
const { assignSorted } = useRecipes(true);
|
||||
const { assignSorted } = useRecipes(true, true, true);
|
||||
|
||||
// ================================================================
|
||||
// Advanced Toggle
|
||||
|
||||
Reference in New Issue
Block a user