Move/Merge updated to handle object vs id
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -48,6 +48,11 @@
|
|||||||
<template v-slot:upper-right>
|
<template v-slot:upper-right>
|
||||||
<b-button v-if="i.recipe" v-b-tooltip.hover :title="i.recipe.name"
|
<b-button v-if="i.recipe" v-b-tooltip.hover :title="i.recipe.name"
|
||||||
class=" btn fas fa-book-open p-0 border-0" variant="link" :href="i.recipe.url"/>
|
class=" btn fas fa-book-open p-0 border-0" variant="link" :href="i.recipe.url"/>
|
||||||
|
<!-- keywords can have icons - if it exists, display it -->
|
||||||
|
<b-button v-if="i.icon"
|
||||||
|
class=" btn p-0 border-0" variant="link">
|
||||||
|
{{i.icon}}
|
||||||
|
</b-button>
|
||||||
</template>
|
</template>
|
||||||
</generic-horizontal-card>
|
</generic-horizontal-card>
|
||||||
</template>
|
</template>
|
||||||
@ -177,10 +182,10 @@ export default {
|
|||||||
this.saveThis(update)
|
this.saveThis(update)
|
||||||
break;
|
break;
|
||||||
case this.Actions.MERGE:
|
case this.Actions.MERGE:
|
||||||
this.mergeThis(this.this_item.id, e.form_data.target)
|
this.mergeThis(this.this_item.id, e.form_data.target.id)
|
||||||
break;
|
break;
|
||||||
case this.Actions.MOVE:
|
case this.Actions.MOVE:
|
||||||
this.moveThis(this.this_item.id, e.form_data.target)
|
this.moveThis(this.this_item.id, e.form_data.target.id)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,47 +3,47 @@
|
|||||||
"assets": {
|
"assets": {
|
||||||
"../../templates/sw.js": {
|
"../../templates/sw.js": {
|
||||||
"name": "../../templates/sw.js",
|
"name": "../../templates/sw.js",
|
||||||
"path": "..\\..\\templates\\sw.js"
|
"path": "../../templates/sw.js"
|
||||||
},
|
},
|
||||||
"css/chunk-vendors.css": {
|
"css/chunk-vendors.css": {
|
||||||
"name": "css/chunk-vendors.css",
|
"name": "css/chunk-vendors.css",
|
||||||
"path": "css\\chunk-vendors.css"
|
"path": "css/chunk-vendors.css"
|
||||||
},
|
},
|
||||||
"js/chunk-vendors.js": {
|
"js/chunk-vendors.js": {
|
||||||
"name": "js/chunk-vendors.js",
|
"name": "js/chunk-vendors.js",
|
||||||
"path": "js\\chunk-vendors.js"
|
"path": "js/chunk-vendors.js"
|
||||||
},
|
},
|
||||||
"js/import_response_view.js": {
|
"js/import_response_view.js": {
|
||||||
"name": "js/import_response_view.js",
|
"name": "js/import_response_view.js",
|
||||||
"path": "js\\import_response_view.js"
|
"path": "js/import_response_view.js"
|
||||||
},
|
},
|
||||||
"css/model_list_view.css": {
|
"css/model_list_view.css": {
|
||||||
"name": "css/model_list_view.css",
|
"name": "css/model_list_view.css",
|
||||||
"path": "css\\model_list_view.css"
|
"path": "css/model_list_view.css"
|
||||||
},
|
},
|
||||||
"js/model_list_view.js": {
|
"js/model_list_view.js": {
|
||||||
"name": "js/model_list_view.js",
|
"name": "js/model_list_view.js",
|
||||||
"path": "js\\model_list_view.js"
|
"path": "js/model_list_view.js"
|
||||||
},
|
},
|
||||||
"js/offline_view.js": {
|
"js/offline_view.js": {
|
||||||
"name": "js/offline_view.js",
|
"name": "js/offline_view.js",
|
||||||
"path": "js\\offline_view.js"
|
"path": "js/offline_view.js"
|
||||||
},
|
},
|
||||||
"js/recipe_search_view.js": {
|
"js/recipe_search_view.js": {
|
||||||
"name": "js/recipe_search_view.js",
|
"name": "js/recipe_search_view.js",
|
||||||
"path": "js\\recipe_search_view.js"
|
"path": "js/recipe_search_view.js"
|
||||||
},
|
},
|
||||||
"js/recipe_view.js": {
|
"js/recipe_view.js": {
|
||||||
"name": "js/recipe_view.js",
|
"name": "js/recipe_view.js",
|
||||||
"path": "js\\recipe_view.js"
|
"path": "js/recipe_view.js"
|
||||||
},
|
},
|
||||||
"js/supermarket_view.js": {
|
"js/supermarket_view.js": {
|
||||||
"name": "js/supermarket_view.js",
|
"name": "js/supermarket_view.js",
|
||||||
"path": "js\\supermarket_view.js"
|
"path": "js/supermarket_view.js"
|
||||||
},
|
},
|
||||||
"js/user_file_view.js": {
|
"js/user_file_view.js": {
|
||||||
"name": "js/user_file_view.js",
|
"name": "js/user_file_view.js",
|
||||||
"path": "js\\user_file_view.js"
|
"path": "js/user_file_view.js"
|
||||||
},
|
},
|
||||||
"recipe_search_view.html": {
|
"recipe_search_view.html": {
|
||||||
"name": "recipe_search_view.html",
|
"name": "recipe_search_view.html",
|
||||||
|
Reference in New Issue
Block a user