Skip to content

Commit

Permalink
Reset scale if ongoing full search is cancelled
Browse files Browse the repository at this point in the history
Signed-off-by: hriday-panchasara <hriday.panchasara@ericsson.com>
  • Loading branch information
hriday-panchasara committed Jun 30, 2023
1 parent df9b517 commit 054a56c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions timeline-chart/src/layer/time-graph-chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ export class TimeGraphChart extends TimeGraphChartLayer {
const request = { worldRange, resolution, rowIds: [rowIds[i]], additionalParams, fullSearch };
await this.fetchRows(request, i === rowIds.length -1, fine);
} catch(error) {
this.stateController.resetScale();
return;
}
}
Expand Down

0 comments on commit 054a56c

Please sign in to comment.