2
0
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:
Oliver
2025-10-06 16:28:08 +11:00
committed by GitHub
parent 5743e22501
commit d3aa26b707

View File

@@ -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`,