From 34aab019b9db7897311447eb394138544c1e2d85 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 7 Mar 2022 13:09:11 +0100 Subject: [PATCH] fix computer option --- ereuse_devicehub/inventory/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/inventory/forms.py b/ereuse_devicehub/inventory/forms.py index 945270b4..1c0981ff 100644 --- a/ereuse_devicehub/inventory/forms.py +++ b/ereuse_devicehub/inventory/forms.py @@ -49,7 +49,7 @@ class FilterForm(FlaskForm): type_device = { None: ['Desktop', 'Laptop', 'Server'], - 'Computer': ['Computer'], + 'Computer': ['Desktop', 'Laptop', 'Server'], 'Monitor': ['Monitor'], } return type_device.get(request.args.get('filter')) or type_device[None]