Skip to content
Snippets Groups Projects
Commit 9ba9a77d authored by Robin Leber's avatar Robin Leber
Browse files

FIX: pipe naming error, when delete pipe

parent e881f399
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ import { duplicatePipe, duplicateFilter, extendPipe } from "./duplication";
import { codeEditorElement } from "./codeEditor";
import { scaleOut } from "./api";
import { showCheck } from "./visualValidation";
import { appState } from "./state";
export const initContextmenu = (instance) => {
// Kontext Menü für Connections
......@@ -88,6 +89,7 @@ export const initContextmenu = (instance) => {
$("body").on("click", ".delete-pipe", (event) => {
instance.remove(window.selectedPipe);
appState.removePipe(window.selectedPipe);
});
$("body").on("click", ".duplicate-pipe", (event) => {
duplicatePipe(instance);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment