mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +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
3 changed files with 15 additions and 12 deletions
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,16 +436,19 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
tiles.add(
|
// TODO - Add this action back in once implemented
|
||||||
ListTile(
|
if (false) {
|
||||||
title: Text(L10().barcodeScanItem),
|
tiles.add(
|
||||||
leading: FaIcon(FontAwesomeIcons.box),
|
ListTile(
|
||||||
trailing: FaIcon(FontAwesomeIcons.qrcode),
|
title: Text(L10().barcodeScanItem),
|
||||||
onTap: () {
|
leading: FaIcon(FontAwesomeIcons.box),
|
||||||
// TODO
|
trailing: FaIcon(FontAwesomeIcons.qrcode),
|
||||||
},
|
onTap: () {
|
||||||
),
|
// TODO
|
||||||
);
|
},
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if (false && !part.isActive && InvenTreeAPI().checkPermission('part', 'delete')) {
|
if (false && !part.isActive && InvenTreeAPI().checkPermission('part', 'delete')) {
|
||||||
tiles.add(
|
tiles.add(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue