feat: Add notes for Contacts (#3273)

Fixes #2275
This commit is contained in:
Pranav Raj S 2021-10-25 18:35:58 +05:30 committed by GitHub
parent e5e73a08fe
commit 8e6ce3a813
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 416 additions and 278 deletions

View file

@ -1,6 +1,6 @@
<template>
<span class="back-button ion-ios-arrow-left" @click.capture="goBack">
{{ $t('GENERAL_SETTINGS.BACK') }}
{{ buttonLabel || $t('GENERAL_SETTINGS.BACK') }}
</span>
</template>
<script>
@ -12,6 +12,10 @@ export default {
type: [String, Object],
default: '',
},
buttonLabel: {
type: String,
default: '',
},
},
methods: {
goBack() {

View file

@ -64,6 +64,7 @@ export default {
placeholder: { type: String, default: '' },
isPrivate: { type: Boolean, default: false },
isFormatMode: { type: Boolean, default: false },
enableSuggestions: { type: Boolean, default: true },
},
data() {
return {
@ -78,6 +79,10 @@ export default {
},
computed: {
plugins() {
if (!this.enableSuggestions) {
return [];
}
return [
suggestionsPlugin({
matcher: triggerCharacters('@'),