mirror of
https://github.com/inventree/inventree-app.git
synced 2025-05-05 08:48:55 +00:00
Fixes:
- Hide action that doesn't work yet - Change "parent category" to "parent location"
This commit is contained in:
parent
1896b71533
commit
687afc4eed
2
lib/l10n
2
lib/l10n
@ -1 +1 @@
|
|||||||
Subproject commit e6b7dd53bc43e084325c2bb414436b559d18931a
|
Subproject commit 951063e039d4659159f42ec6425092f4f3bb808c
|
@ -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: () {
|
||||||
|
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user