mirror of
https://github.com/inventree/InvenTree.git
synced 2025-10-14 21:22:20 +00:00
[UI] Tweak dashboard filters (#10501)
- "low stock" should only be shown for non-virtual parts
This commit is contained in:
@@ -51,7 +51,11 @@ export function BuiltinQueryCountWidgets(): DashboardWidgetProps[] {
|
||||
label: 'low-stk',
|
||||
description: t`Show the number of parts which are low on stock`,
|
||||
modelType: ModelType.part,
|
||||
params: { low_stock: true, active: true }
|
||||
params: {
|
||||
active: true,
|
||||
low_stock: true,
|
||||
virtual: false
|
||||
}
|
||||
}),
|
||||
QueryCountDashboardWidget({
|
||||
title: t`Required for Build Orders`,
|
||||
|
Reference in New Issue
Block a user