#171 bugfix show record from zoom action (#201)

pull/3759/head
Leonel Matos 2019-12-12 18:44:04 -04:00 committed by Yamel Senih
parent c4938ee879
commit 101de06515
1 changed files with 13 additions and 0 deletions

View File

@ -685,6 +685,19 @@ const panel = {
isEvaluateMandatory: false
})
})
.then(response => {
if (response && response.length) {
dispatch('notifyPanelChange', {
parentUuid: parentUuid,
containerUuid: containerUuid,
isAdvancedQuery: false,
newValues: response[0],
isSendToServer: false,
isSendCallout: true,
panelType: 'window'
})
}
})
.catch(error => {
console.warn('Error getting Advanced Query (notifyFieldChange):', error.message + '. Code: ', error.code)
})