mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 12:49:02 -05:00
refactored genericAPI as ApiMixin
This commit is contained in:
@@ -46,12 +46,11 @@ export default {
|
||||
name: 'GenericModalForm',
|
||||
components: {CheckboxInput, LookupInput, TextInput},
|
||||
props: {
|
||||
model: {type: Object, default: function() {}},
|
||||
action: {type: Object, default: function() {}},
|
||||
model: {required: true, type: Object, default: function() {}},
|
||||
action: {required: true, type: Object, default: function() {}},
|
||||
item1: {type: Object, default: function() {}},
|
||||
item2: {type: Object, default: function() {}},
|
||||
// action: {type: String, default: ''},
|
||||
show: {type: Boolean, default: false},
|
||||
show: {required: true, type: Boolean, default: false},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Vue from "vue";
|
||||
import GenericMultiselect from "@/components/GenericMultiselect";
|
||||
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user