Skip to content
Snippets Groups Projects
Unverified Commit 32d83044 authored by Chris Tozlowski's avatar Chris Tozlowski Committed by GitHub
Browse files

Fix the position of the separator in the operator menu when editing a rule (#3037)

* Fix line separator position in operations menu

* release note
parent 45756169
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ export function OpSelect({
.map(op => [op, formatOp(op, type)]);
if (type === 'string' || type === 'id') {
options.splice(options.length / 2, 0, Menu.line);
options.splice(Math.ceil(options.length / 2), 0, Menu.line);
}
return options;
......
---
category: Bugfix
authors: [ctozlowski]
---
Fix the position of the separator in the operator menu when editing a rule
\ No newline at end of file
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