#8002 adjust to Lilium #3199

Open
jorgep wants to merge 8 commits from 8002-refactorToLilium into dev
2 changed files with 7 additions and 16 deletions
Showing only changes of commit 1c49c073ee - Show all commits

View File

@ -27,17 +27,8 @@ export default class Controller extends Component {
setTimeout(() => element.classList.add('shown'), 30);
shape.element = element;
if (data.additionalData && this.vnToken.token) {
if (data.additionalData && this.vnToken.token)
this.additionalData = data.additionalData;
jorgep marked this conversation as resolved Outdated
Outdated
Review

Esto ya no hcae falta tampococ no?

Esto ya no hcae falta tampococ no?
let supportButton = document.createElement('i');
supportButton.setAttribute('class', 'material-icons clickable');
supportButton.addEventListener('click', () => this.$.supportDialog.show());
element.appendChild(supportButton);
let buttonIcon = 'support_agent';
buttonIcon = document.createTextNode(buttonIcon);
supportButton.appendChild(buttonIcon);
}
if (shape.type)
element.classList.add(shape.type);

View File

@ -10,12 +10,12 @@ export default class Controller extends Dialog {
if (response !== 'accept')
return super.responseHandler(response);
this.$http.post('Ostickets/send-to-support', {
reason: this.reason,
additionalData: this.additionalData
})
.then(() => super.responseHandler(response))
.then(() => this.vnApp.showSuccess(this.$t('Email sended!')));
// this.$http.post('Ostickets/send-to-support', {
// reason: this.reason,
// additionalData: this.additionalData
// })
// .then(() => super.responseHandler(response))
// .then(() => this.vnApp.showSuccess(this.$t('Email sended!')));
}
}