From 7bb3c21451de6710e799865e1b26309277057f40 Mon Sep 17 00:00:00 2001 From: Misode Date: Fri, 4 Oct 2019 20:28:28 +0200 Subject: [PATCH] Fix not being able to add pools --- index.html | 4 ++-- model.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 4be1a1f8..7432268d 100644 --- a/index.html +++ b/index.html @@ -31,9 +31,9 @@
-
+
- +
diff --git a/model.js b/model.js index 31cff8e6..3073ddd7 100644 --- a/model.js +++ b/model.js @@ -148,7 +148,7 @@ function copySource(el) { function getPath(el) { let $node = $(el).closest('[data-index]'); let index = $node.attr('data-index'); - if (index === 'pools') return ['pools']; + if (index === 'table') return []; let parent = getPath($node.parent()); parent.push(index); return parent;