mirror of
https://github.com/inventree/inventree-app.git
synced 2025-05-01 15:06:49 +00:00
bug fix for "owner" rendering
This commit is contained in:
parent
cbb668687e
commit
961a35d410
@ -443,8 +443,8 @@ class APIFormField {
|
||||
) : null,
|
||||
);
|
||||
case "owner":
|
||||
String name = (item["name"] ?? "") as String;
|
||||
bool isGroup = (item["label"] ?? "") == "group";
|
||||
String name = (data["name"] ?? "") as String;
|
||||
bool isGroup = (data["label"] ?? "") == "group";
|
||||
return ListTile(
|
||||
title: Text(name),
|
||||
leading: FaIcon(isGroup ? FontAwesomeIcons.users : FontAwesomeIcons.user),
|
||||
|
Loading…
x
Reference in New Issue
Block a user