2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 10:15:32 +00:00
- Hide action that doesn't work yet
- Change "parent category" to "parent location"
This commit is contained in:
Oliver
2021-08-16 11:50:12 +10:00
parent 1896b71533
commit 687afc4eed
3 changed files with 15 additions and 12 deletions

View File

@ -436,16 +436,19 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
)
);
tiles.add(
ListTile(
title: Text(L10().barcodeScanItem),
leading: FaIcon(FontAwesomeIcons.box),
trailing: FaIcon(FontAwesomeIcons.qrcode),
onTap: () {
// TODO
},
),
);
// TODO - Add this action back in once implemented
if (false) {
tiles.add(
ListTile(
title: Text(L10().barcodeScanItem),
leading: FaIcon(FontAwesomeIcons.box),
trailing: FaIcon(FontAwesomeIcons.qrcode),
onTap: () {
// TODO
},
),
);
}
if (false && !part.isActive && InvenTreeAPI().checkPermission('part', 'delete')) {
tiles.add(