Skip to content

Commit

Permalink
Don’t clear filter when adding item when clicking + to add products
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Jul 8, 2024
1 parent 3a92e2c commit 85d39b5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/ui/invoice/edit/invoice_item_selector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ class _InvoiceItemSelectorState extends State<InvoiceItemSelector>

void _toggleEntity(BaseEntity entity) {
setState(() {
_filter = '';
_textController.text = '';
if (_selected.contains(entity)) {
_selected.remove(entity);
} else {
Expand Down

0 comments on commit 85d39b5

Please sign in to comment.