mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-20 17:50:12 +02:00
Material number as a first-class spool field (#2994)
This commit is contained in:
@@ -35,6 +35,7 @@ export function spoolMatchesQuery(spool: InventorySpool, query: string): boolean
|
||||
(spool.note?.toLowerCase().includes(q) ?? false) ||
|
||||
(spool.slicer_filament_name?.toLowerCase().includes(q) ?? false) ||
|
||||
(spool.storage_location?.toLowerCase().includes(q) ?? false) ||
|
||||
(spool.material_number?.toLowerCase().includes(q) ?? false) ||
|
||||
(spool.suppliers?.some(
|
||||
(link) =>
|
||||
link.supplier_name.toLowerCase().includes(q) ||
|
||||
|
||||
Reference in New Issue
Block a user