mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 20:28:46 -05:00
show import links
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
v-if="recipe.imported !== undefined && recipe.imported"
|
||||
target="_blank">{{
|
||||
recipe.recipe_name
|
||||
}}</a> <span v-else>{{ recipe.recipe_name }}</span>
|
||||
}}</a> <a target="_blank" :href="`${resolveDjangoUrl('view_search') }?query=${recipe.recipe_name}`" v-else>{{ recipe.recipe_name }}</a>
|
||||
<b-badge class="float-right text-white">{{ index + 1 }}</b-badge>
|
||||
</h5>
|
||||
<p class="mb-0">
|
||||
|
||||
@@ -1133,6 +1133,10 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
if (urlParams.has("query")) {
|
||||
this.search.search_input = urlParams.get('query')
|
||||
}
|
||||
|
||||
// TODO: figure out how to find nested items and load keyword/food children for that branch
|
||||
// probably a backend change in facets to pre-load children of nested items
|
||||
for (let x of this.search.search_foods.map((x) => x.items).flat()) {
|
||||
|
||||
Reference in New Issue
Block a user