This commit is contained in:
Chris Scoggins
2022-01-27 10:42:55 -06:00
parent 07d5ead128
commit 203ff1a6ec
2 changed files with 3 additions and 3 deletions

View File

@ -145,7 +145,7 @@ export default {
return this.genericAPI(this.Models.RECIPE, this.Actions.LIST, params).then((results) => {
let recipes = results.data.results.map((x) => {
return {
id: x.id,
id: (Math.random() * 1999) ^ 1999,
book: book.id,
book_content: book,
recipe: x.id,

View File

@ -521,10 +521,11 @@
import Vue from "vue"
import { BootstrapVue } from "bootstrap-vue"
import VueCookies from "vue-cookies"
import "bootstrap-vue/dist/bootstrap-vue.css"
import moment from "moment"
import _debounce from "lodash/debounce"
import Multiselect from "vue-multiselect"
import { Treeselect, LOAD_CHILDREN_OPTIONS } from "@riophae/vue-treeselect"
import "@riophae/vue-treeselect/dist/vue-treeselect.css"
@ -533,7 +534,6 @@ import LoadingSpinner from "@/components/LoadingSpinner" // TODO: is this deprec
import RecipeCard from "@/components/RecipeCard"
import GenericMultiselect from "@/components/GenericMultiselect"
import RecipeSwitcher from "@/components/Buttons/RecipeSwitcher"
import Multiselect from "vue-multiselect"
Vue.use(VueCookies)
Vue.use(BootstrapVue)