MT#57752 Removing SecretKey for mail2fax doesn't work

Change-Id: I48d0a0cff435a3f36d49aded8401ebdf461f05c8
(cherry picked from commit 8d73ce0997)
mr11.5.1
Hugo Zigha 1 year ago committed by Marco Capetta
parent c4845f4d92
commit 5b64f7d6fa

@ -301,6 +301,9 @@ export default {
}, },
async setChangedData (field, value, beforeUpdateUI = () => {}) { async setChangedData (field, value, beforeUpdateUI = () => {}) {
try { try {
if (field === 'secret_key') {
value = value === '' ? null : value
}
await this.mailToFaxSettingsUpdateAction({ field, value }) await this.mailToFaxSettingsUpdateAction({ field, value })
beforeUpdateUI() beforeUpdateUI()
this.updateDataFromStore() this.updateDataFromStore()

Loading…
Cancel
Save