fix computer option

This commit is contained in:
Cayo Puigdefabregas 2022-03-07 13:09:11 +01:00
parent 598b91e22b
commit 34aab019b9
1 changed files with 1 additions and 1 deletions

View File

@ -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]