We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5cfe29 + 8a85ae3 commit 3e6a98dCopy full SHA for 3e6a98d
app/src/helperFunctions/manageSeparators.ts
@@ -8,7 +8,7 @@ const manageSeparators = {};
8
manageSeparators.nextTopSeparatorId = initialState.nextTopSeparatorId;
9
10
manageSeparators.handleSeparators = (arr, str) => {
11
- if ((str === 'delete' || str === 'change position') && arr.length === 1) {
+ if ((str === 'delete' || str === 'change position') && arr.length === 1 && arr[0].name === 'separator') {
12
arr.splice(0, 1);
13
}
14
0 commit comments