diff --git a/src/components/list/list.vue b/src/components/list/list.vue index 1159898de0..7d62283a32 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 1fdd5a6708..7856d725ac 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 39f3c381de..8d78d2d294 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -16,14 +16,14 @@
diff --git a/src/components/user_settings/user_settings.vue b/src/components/user_settings/user_settings.vue index 741fbe3f3e..66ce6ceaea 100644 --- a/src/components/user_settings/user_settings.vue +++ b/src/components/user_settings/user_settings.vue @@ -200,9 +200,9 @@ - + @@ -214,9 +214,9 @@ - +