fix(ui): change clickmap fetch filter
This commit is contained in:
parent
dc9f3f79ee
commit
b93c2ed269
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ export default class MetricService {
|
|||
getMetricChartData(metric: Widget, data: any, isWidget: boolean = false): Promise<any> {
|
||||
if (
|
||||
metric.metricType === CLICKMAP
|
||||
&& document.location.pathname.split('/').pop() !== 'metrics'
|
||||
&& document.location.pathname.split('/').pop() === 'metrics'
|
||||
&& (document.location.pathname.indexOf('dashboard') !== -1 && document.location.pathname.indexOf('metric') === -1)
|
||||
) {
|
||||
return Promise.resolve({})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue