ui: fix empty sank sessions fetch
This commit is contained in:
parent
77610a4924
commit
5070ded1f4
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ function WidgetSessions(props: Props) {
|
||||||
if (widget.metricType === USER_PATH) {
|
if (widget.metricType === USER_PATH) {
|
||||||
if (
|
if (
|
||||||
seriesJson[0].filter.filters[0].value[0] === '' &&
|
seriesJson[0].filter.filters[0].value[0] === '' &&
|
||||||
widget.data.nodes
|
widget.data.nodes?.length
|
||||||
) {
|
) {
|
||||||
seriesJson[0].filter.filters[0].value = widget.data.nodes[0].name;
|
seriesJson[0].filter.filters[0].value = widget.data.nodes[0].name;
|
||||||
} else if (
|
} else if (
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue