From 1cf9780e05957c96b6d6b6b898b83ff1987b2703 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Tue, 2 Apr 2019 16:02:02 -0400
Subject: [PATCH] make more generic
---
src/components/user_autosuggest/user_autosuggest.js | 5 -----
src/components/user_autosuggest/user_autosuggest.vue | 3 ++-
src/components/user_settings/user_settings.js | 3 ++-
src/components/user_settings/user_settings.vue | 4 +++-
4 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/src/components/user_autosuggest/user_autosuggest.js b/src/components/user_autosuggest/user_autosuggest.js
index 12a6964a..d4efe912 100644
--- a/src/components/user_autosuggest/user_autosuggest.js
+++ b/src/components/user_autosuggest/user_autosuggest.js
@@ -1,5 +1,3 @@
-import BlockCard from '../block_card/block_card.vue'
-
const debounceMilliseconds = 500
export default {
@@ -16,9 +14,6 @@ export default {
default: 'Search...'
}
},
- components: {
- BlockCard
- },
data () {
return {
term: '',
diff --git a/src/components/user_autosuggest/user_autosuggest.vue b/src/components/user_autosuggest/user_autosuggest.vue
index db3e1bdf..6eaecbaa 100644
--- a/src/components/user_autosuggest/user_autosuggest.vue
+++ b/src/components/user_autosuggest/user_autosuggest.vue
@@ -2,7 +2,8 @@
diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js
index 259e3418..2cae2d00 100644
--- a/src/components/user_settings/user_settings.js
+++ b/src/components/user_settings/user_settings.js
@@ -78,7 +78,8 @@ const UserSettings = {
BlockList,
MuteList,
EmojiInput,
- UserAutoSuggest
+ UserAutoSuggest,
+ BlockCard
},
computed: {
user () {
diff --git a/src/components/user_settings/user_settings.vue b/src/components/user_settings/user_settings.vue
index 3dde5ae1..69d3dc53 100644
--- a/src/components/user_settings/user_settings.vue
+++ b/src/components/user_settings/user_settings.vue
@@ -196,7 +196,9 @@
-
+
+
+
{{$t('settings.no_blocks')}}