1
0
Fork 0

fix: allow custom base template to add params to feedback form

This commit is contained in:
Lance Edgar 2024-08-26 14:52:14 -05:00
parent 0910153685
commit 33bd36b70f

View file

@ -526,16 +526,21 @@
}) })
}, },
sendFeedback() { getParams() {
this.sendingFeedback = true return {
const params = {
referrer: this.referrer, referrer: this.referrer,
user_uuid: this.userUUID, user_uuid: this.userUUID,
user_name: this.userName, user_name: this.userName,
message: this.message.trim(), message: this.message.trim(),
...this.getExtraParams(),
} }
},
getExtraParams() {},
sendFeedback() {
this.sendingFeedback = true
const params = this.getParams()
this.wuttaPOST(this.action, params, response => { this.wuttaPOST(this.action, params, response => {
this.$buefy.toast.open({ this.$buefy.toast.open({