From d9b3f5be4733f0eef4d3c8dff982224cd1a5303e Mon Sep 17 00:00:00 2001
From: taehoon
Date: Wed, 3 Apr 2019 22:48:00 -0400
Subject: use SelectableList for blocks/mutes list
---
src/components/selectable_list/selectable_list.js | 11 +++++------
src/components/selectable_list/selectable_list.vue | 18 +++++++++++++++---
2 files changed, 20 insertions(+), 9 deletions(-)
(limited to 'src/components/selectable_list')
diff --git a/src/components/selectable_list/selectable_list.js b/src/components/selectable_list/selectable_list.js
index cd431eeb..138e63ab 100644
--- a/src/components/selectable_list/selectable_list.js
+++ b/src/components/selectable_list/selectable_list.js
@@ -4,12 +4,11 @@ const SelectableList = {
components: {
Checkbox
},
- props: ['checked'],
- data () {
- },
- computed: {
- },
- methods: {
+ props: {
+ items: {
+ type: Array,
+ default: () => []
+ }
}
}
diff --git a/src/components/selectable_list/selectable_list.vue b/src/components/selectable_list/selectable_list.vue
index 11853672..2e0671ef 100644
--- a/src/components/selectable_list/selectable_list.vue
+++ b/src/components/selectable_list/selectable_list.vue
@@ -1,10 +1,22 @@
-
-
+
-
+
--
cgit v1.2.3-70-g09d2