diff --git a/.gitignore b/.gitignore index d3d227c..0e5bddd 100755 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ env/ .env frontend/build/ django_react_proj/settings.py +frontend/src/service/utils.js diff --git a/frontend/src/views/Dashboard/components/LatestOrders/List.js b/frontend/src/views/Dashboard/components/LatestOrders/List.js index f0d8bb4..97a84ba 100755 --- a/frontend/src/views/Dashboard/components/LatestOrders/List.js +++ b/frontend/src/views/Dashboard/components/LatestOrders/List.js @@ -273,7 +273,7 @@ export default function EnhancedTable(props) { let users = []; province.contributors.forEach(item => { if (item.contribution.includes('createdBy')) { - users.push(item.email); + users.push(item.name); } }); return users.join(', '); @@ -283,7 +283,7 @@ export default function EnhancedTable(props) { let users = []; province.contributors.forEach(item => { if (!item.contribution.includes('createdBy')) { - users.push(item.email); + users.push(item.name); } }); return users.join(', ');