add user autosuggest component
This commit is contained in:
parent
d05bd31092
commit
da5844205c
4 changed files with 139 additions and 2 deletions
|
@ -9,6 +9,7 @@ import fileSizeFormatService from '../../services/file_size_format/file_size_for
|
|||
import BlockCard from '../block_card/block_card.vue'
|
||||
import MuteCard from '../mute_card/mute_card.vue'
|
||||
import EmojiInput from '../emoji-input/emoji-input.vue'
|
||||
import UserAutoSuggest from '../user_autosuggest/user_autosuggest.vue'
|
||||
import withSubscription from '../../hocs/with_subscription/with_subscription'
|
||||
import withList from '../../hocs/with_list/with_list'
|
||||
|
||||
|
@ -73,7 +74,8 @@ const UserSettings = {
|
|||
ImageCropper,
|
||||
BlockList,
|
||||
MuteList,
|
||||
EmojiInput
|
||||
EmojiInput,
|
||||
UserAutoSuggest
|
||||
},
|
||||
computed: {
|
||||
user () {
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<div class="setting-item" >
|
||||
<h2>{{$t('settings.name_bio')}}</h2>
|
||||
<p>{{$t('settings.name')}}</p>
|
||||
<EmojiInput
|
||||
<EmojiInput
|
||||
type="text"
|
||||
v-model="newName"
|
||||
id="username"
|
||||
|
@ -195,6 +195,7 @@
|
|||
</div>
|
||||
|
||||
<div :label="$t('settings.blocks_tab')">
|
||||
<UserAutoSuggest />
|
||||
<block-list :refresh="true">
|
||||
<template slot="empty">{{$t('settings.no_blocks')}}</template>
|
||||
</block-list>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue