We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f5aca4 commit 28a75e9Copy full SHA for 28a75e9
src/main/frontend/pipeline-graph-view/app.tsx
@@ -1,22 +1,15 @@
1
import * as React from "react";
2
import {
3
FunctionComponent,
4
- useEffect,
5
- useState /*, useEffect, useState */,
6
} from "react";
7
8
import { PipelineGraph } from "./pipeline-graph/main";
9
10
import "./app.scss";
11
import "./pipeline-graph/styles/main.scss";
12
13
-// @ts-ignore
14
-// const rootUrl = rootURL;
15
16
-// const csrfCrumb = crumb.value;
17
-
18
function handleNodeClick(nodeName: string, id: number) {
19
- alert(`clicked ${nodeName} ${id}`);
+ window.location.href = '../pipeline-console?selected-node=' + id
20
}
21
22
const App: FunctionComponent = () => {
0 commit comments