mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
parent
31211431dc
commit
0a18f2b0cb
3 changed files with 3 additions and 2 deletions
|
@ -461,6 +461,7 @@ export function onDataLoadError(layerId, dataId, requestToken, errorMessage) {
|
|||
dispatch(clearTooltipStateForLayer(layerId));
|
||||
dispatch({
|
||||
type: LAYER_DATA_LOAD_ERROR,
|
||||
data: null,
|
||||
layerId,
|
||||
dataId,
|
||||
requestToken,
|
||||
|
|
|
@ -373,7 +373,7 @@ export class VectorLayer extends AbstractLayer {
|
|||
} catch (e) {
|
||||
onLoadError(sourceDataId, requestToken, `Join error: ${e.message}`);
|
||||
return {
|
||||
dataHasChanged: false,
|
||||
dataHasChanged: true,
|
||||
join: join,
|
||||
propertiesMap: null
|
||||
};
|
||||
|
|
|
@ -192,7 +192,7 @@ export function map(state = INITIAL_STATE, action) {
|
|||
case LAYER_DATA_LOAD_STARTED:
|
||||
return updateWithDataRequest(state, action);
|
||||
case LAYER_DATA_LOAD_ERROR:
|
||||
return resetDataRequest(state, action);
|
||||
return updateWithDataResponse(state, action);
|
||||
case LAYER_DATA_LOAD_ENDED:
|
||||
return updateWithDataResponse(state, action);
|
||||
case TOUCH_LAYER:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue