diff --git a/src/components/list/list.vue b/src/components/list/list.vue index 1159898d..7d62283a 100644 --- a/src/components/list/list.vue +++ b/src/components/list/list.vue @@ -18,7 +18,7 @@ export default { }, getKey: { type: Function, - default: item => item + default: item => item.id } } } diff --git a/src/components/selectable_list/selectable_list.js b/src/components/selectable_list/selectable_list.js index 1fdd5a67..7856d725 100644 --- a/src/components/selectable_list/selectable_list.js +++ b/src/components/selectable_list/selectable_list.js @@ -6,16 +6,7 @@ const SelectableList = { List, Checkbox }, - props: { - items: { - type: Array, - default: () => [] - }, - getKey: { - type: Function, - default: item => item - } - }, + props: List.props, data () { return { selected: [] diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index 39f3c381..8d78d2d2 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -16,14 +16,14 @@