2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-14 03:05:32 +00:00

Fix URL getters

This commit is contained in:
Oliver
2021-08-09 07:51:46 +10:00
parent beeea794cb
commit 2dfe8921eb
7 changed files with 10 additions and 35 deletions

View File

@ -43,27 +43,6 @@ class _CategoryDisplayState extends RefreshableState<CategoryDisplayWidget> {
List<Widget> actions = [];
/*
actions.add(
IconButton(
icon: FaIcon(FontAwesomeIcons.search),
onPressed: () {
Map<String, String> filters = {};
if (category != null) {
filters["category"] = "${category.pk}";
}
showSearch(
context: context,
delegate: PartSearchDelegate(context, filters: filters)
);
}
)
);
*/
if ((category != null) && InvenTreeAPI().checkPermission('part_category', 'change')) {
actions.add(
IconButton(
@ -206,12 +185,10 @@ class _CategoryDisplayState extends RefreshableState<CategoryDisplayWidget> {
label: L10().parts,
),
// TODO - Add the "actions" item back in
/*
BottomNavigationBarItem(
icon: FaIcon(FontAwesomeIcons.wrench),
label: L10().actions
),
*/
]
);
}