From 6e389179dc295d933c5f586666669d1da0cc7485 Mon Sep 17 00:00:00 2001 From: Robin Leber <rleber98@gmail.com> Date: Fri, 28 Jun 2024 07:59:39 +0200 Subject: [PATCH] FIX: pipe Type --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index db1e7fb..1c25aa3 100644 --- a/src/main.js +++ b/src/main.js @@ -46,7 +46,7 @@ function App() { appState.addConnection(filter.id, { pipeId: pipe.id, - pipeType: pipe.textContent.replace(/\s+/g, "").split(`"`)[0], + pipeType: pipe.textContent.replace(/\s+/g, "").slice(0, 5), }); return true; -- GitLab