mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
Fix the position of the separator in the operator menu when editing a rule (#3037)
* Fix line separator position in operations menu * release note
This commit is contained in:
@@ -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;
|
||||
|
||||
6
upcoming-release-notes/3037.md
Normal file
6
upcoming-release-notes/3037.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [ctozlowski]
|
||||
---
|
||||
|
||||
Fix the position of the separator in the operator menu when editing a rule
|
||||
Reference in New Issue
Block a user