mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Improve text when no sub-categories found (#4711)
Avoids confusion when looking for parts
This commit is contained in:
parent
e2c3b28640
commit
8d28fc06be
@ -2230,6 +2230,9 @@ function loadPartCategoryTable(table, options) {
|
||||
treeShowField: 'name',
|
||||
parentIdField: tree_view ? 'parent' : null,
|
||||
method: 'get',
|
||||
formatNoMatches: function() {
|
||||
return '{% trans "No subcategories found" %}';
|
||||
},
|
||||
url: options.url || '{% url "api-part-category-list" %}',
|
||||
queryParams: filters,
|
||||
disablePagination: tree_view,
|
||||
|
Loading…
Reference in New Issue
Block a user