forked from AkkomaGang/akkoma-fe
rename emoji-selector to emoji-picker
This commit is contained in:
parent
259e8c52ee
commit
4c78fdb393
4 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
import Completion from '../../services/completion/completion.js'
|
||||
import EmojiSelector from '../emoji-selector/emoji-selector.vue'
|
||||
import EmojiPicker from '../emoji-picker/emoji-picker.vue'
|
||||
import { take } from 'lodash'
|
||||
|
||||
/**
|
||||
|
@ -65,7 +65,7 @@ const EmojiInput = {
|
|||
}
|
||||
},
|
||||
components: {
|
||||
EmojiSelector
|
||||
EmojiPicker
|
||||
},
|
||||
computed: {
|
||||
suggestions () {
|
||||
|
|
|
@ -2,7 +2,7 @@ const filterByKeyword = (list, keyword = '') => {
|
|||
return list.filter(x => x.shortcode.indexOf(keyword) !== -1)
|
||||
}
|
||||
|
||||
const EmojiSelector = {
|
||||
const EmojiPicker = {
|
||||
mounted () {
|
||||
document.body.addEventListener('click', this.outsideClicked)
|
||||
},
|
||||
|
@ -69,4 +69,4 @@ const EmojiSelector = {
|
|||
}
|
||||
}
|
||||
|
||||
export default EmojiSelector
|
||||
export default EmojiPicker
|
|
@ -33,7 +33,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script src="./emoji-selector.js"></script>
|
||||
<script src="./emoji-picker.js"></script>
|
||||
|
||||
<style lang="scss">
|
||||
@import '../../_variables.scss';
|
|
@ -2,7 +2,7 @@ import statusPoster from '../../services/status_poster/status_poster.service.js'
|
|||
import MediaUpload from '../media_upload/media_upload.vue'
|
||||
import ScopeSelector from '../scope_selector/scope_selector.vue'
|
||||
import EmojiInput from '../emoji-input/emoji-input.vue'
|
||||
import EmojiSelector from '../emoji-selector/emoji-selector.vue'
|
||||
import EmojiPicker from '../emoji-picker/emoji-picker.vue'
|
||||
import PollForm from '../poll/poll_form.vue'
|
||||
import StickerPicker from '../sticker_picker/sticker_picker.vue'
|
||||
import fileTypeService from '../../services/file_type/file_type.service.js'
|
||||
|
|
Loading…
Reference in a new issue