Add view action
This commit is contained in:
parent
e8f361fecc
commit
0d802e4c11
|
|
@ -36,7 +36,7 @@ class EntityPresenter {
|
||||||
EntityType.user,
|
EntityType.user,
|
||||||
EntityType.product,
|
EntityType.product,
|
||||||
].contains(entity.entityType) ||
|
].contains(entity.entityType) ||
|
||||||
(isMobile(context) && isShort)) {
|
isShort) {
|
||||||
return name;
|
return name;
|
||||||
} else if (isMobile(context)) {
|
} else if (isMobile(context)) {
|
||||||
return '$type $name';
|
return '$type $name';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue