mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-28 14:42:01 +08:00
resolves conflicts
This commit is contained in:
parent
2bc01e50bd
commit
c6e2e297d5
@ -3,7 +3,6 @@ import ROUTES from "Src/constants/routes";
|
|||||||
export const getLocalStorageRouteKey = (pathName: string) => {
|
export const getLocalStorageRouteKey = (pathName: string) => {
|
||||||
let localStorageKey = "";
|
let localStorageKey = "";
|
||||||
const pathNameSplit = pathName.split("/");
|
const pathNameSplit = pathName.split("/");
|
||||||
console.log("pathName", pathName);
|
|
||||||
if (!pathNameSplit[2]) {
|
if (!pathNameSplit[2]) {
|
||||||
localStorageKey = pathName;
|
localStorageKey = pathName;
|
||||||
} else {
|
} else {
|
||||||
|
@ -10,8 +10,7 @@ import {
|
|||||||
import { Spin } from "antd";
|
import { Spin } from "antd";
|
||||||
import styled from "styled-components";
|
import styled from "styled-components";
|
||||||
import { StoreState } from "../../store/reducers";
|
import { StoreState } from "../../store/reducers";
|
||||||
import { getZoomPx, getGraphData } from "./utils";
|
import { getZoomPx, getGraphData, getTooltip } from "./utils";
|
||||||
import { getGraphData, getTooltip } from "./utils";
|
|
||||||
import SelectService from "./SelectService";
|
import SelectService from "./SelectService";
|
||||||
import { ForceGraph2D } from "react-force-graph";
|
import { ForceGraph2D } from "react-force-graph";
|
||||||
|
|
||||||
|
@ -83,6 +83,7 @@ export const getZoomPx = (): number => {
|
|||||||
} else if (width > 2500) {
|
} else if (width > 2500) {
|
||||||
return 360;
|
return 360;
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
export const getTooltip = (node: {
|
export const getTooltip = (node: {
|
||||||
p99: number;
|
p99: number;
|
||||||
@ -105,5 +106,4 @@ export const getTooltip = (node: {
|
|||||||
<div class="val">${node.errorRate}%</div>
|
<div class="val">${node.errorRate}%</div>
|
||||||
</div>
|
</div>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user