mirror of
				https://github.com/inventree/inventree-app.git
				synced 2025-10-31 05:15:42 +00:00 
			
		
		
		
	Fixes:
- Hide action that doesn't work yet - Change "parent category" to "parent location"
This commit is contained in:
		
							
								
								
									
										2
									
								
								lib/l10n
									
									
									
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								lib/l10n
									
									
									
									
									
								
							 Submodule lib/l10n updated: e6b7dd53bc...951063e039
									
								
							| @@ -211,7 +211,7 @@ class _LocationDisplayState extends RefreshableState<LocationDisplayWidget> { | ||||
|       if (includeActions) { | ||||
|         children.add( | ||||
|             ListTile( | ||||
|               title: Text(L10().parentCategory), | ||||
|               title: Text(L10().parentLocation), | ||||
|               subtitle: Text("${location!.parentpathstring}"), | ||||
|               leading: FaIcon(FontAwesomeIcons.levelUpAlt, color: COLOR_CLICK), | ||||
|               onTap: () { | ||||
|   | ||||
| @@ -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( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user