mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-11 17:16:59 -05:00
playing with FDC search integration
This commit is contained in:
@@ -117,6 +117,9 @@
|
||||
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
<v-btn @click="fdcDialog = true">OpenSearch</v-btn>
|
||||
<fdc-search-dialog v-model="fdcDialog"></fdc-search-dialog>
|
||||
</v-container>
|
||||
|
||||
<v-dialog v-model="dialog" max-width="600">
|
||||
@@ -153,6 +156,7 @@ import ModelEditDialog from "@/components/dialogs/ModelEditDialog.vue";
|
||||
import VClosableCardTitle from "@/components/dialogs/VClosableCardTitle.vue";
|
||||
import {useUrlSearchParams} from "@vueuse/core";
|
||||
import BtnCopy from "@/components/buttons/BtnCopy.vue";
|
||||
import FdcSearchDialog from "@/components/dialogs/FdcSearchDialog.vue";
|
||||
|
||||
const params = useUrlSearchParams('history', {})
|
||||
|
||||
@@ -168,6 +172,8 @@ const calculatorFromNumerator = ref(250)
|
||||
const calculatorFromDenominator = ref(500)
|
||||
const calculatorToDenominator = ref(100)
|
||||
|
||||
const fdcDialog = ref(false)
|
||||
|
||||
const recipe = ref<undefined | Recipe>()
|
||||
const propertyTypes = ref([] as PropertyType[])
|
||||
const foods = ref(new Map<number, Food & { loading?: boolean }>())
|
||||
|
||||
Reference in New Issue
Block a user