2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-05-05 08:48:55 +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

@ -1 +1 @@
Subproject commit e6b7dd53bc43e084325c2bb414436b559d18931a Subproject commit 951063e039d4659159f42ec6425092f4f3bb808c

View File

@ -211,7 +211,7 @@ class _LocationDisplayState extends RefreshableState<LocationDisplayWidget> {
if (includeActions) { if (includeActions) {
children.add( children.add(
ListTile( ListTile(
title: Text(L10().parentCategory), title: Text(L10().parentLocation),
subtitle: Text("${location!.parentpathstring}"), subtitle: Text("${location!.parentpathstring}"),
leading: FaIcon(FontAwesomeIcons.levelUpAlt, color: COLOR_CLICK), leading: FaIcon(FontAwesomeIcons.levelUpAlt, color: COLOR_CLICK),
onTap: () { onTap: () {

View File

@ -436,6 +436,8 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
) )
); );
// TODO - Add this action back in once implemented
if (false) {
tiles.add( tiles.add(
ListTile( ListTile(
title: Text(L10().barcodeScanItem), title: Text(L10().barcodeScanItem),
@ -446,6 +448,7 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
}, },
), ),
); );
}
if (false && !part.isActive && InvenTreeAPI().checkPermission('part', 'delete')) { if (false && !part.isActive && InvenTreeAPI().checkPermission('part', 'delete')) {
tiles.add( tiles.add(