feat: Quickly create canned responses (#5563)

This commit is contained in:
Pranav Raj S
2022-10-05 22:00:15 -07:00
committed by GitHub
parent 0a9ea6e272
commit 788b766179
5 changed files with 71 additions and 22 deletions

View File

@@ -65,6 +65,10 @@ export default {
},
mixins: [alertMixin],
props: {
responseContent: {
type: String,
default: '',
},
onClose: {
type: Function,
default: () => {},
@@ -73,10 +77,7 @@ export default {
data() {
return {
shortCode: '',
content: '',
vertical: 'bottom',
horizontal: 'center',
content: this.responseContent || '',
addCanned: {
showLoading: false,
message: '',