Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Fixed the display for Created By and Access List fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Sep 15, 2020
1 parent 19f0192 commit eb7b657
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ env/
.env
frontend/build/
django_react_proj/settings.py
frontend/src/service/utils.js
4 changes: 2 additions & 2 deletions frontend/src/views/Dashboard/components/LatestOrders/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(', ');
Expand All @@ -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(', ');
Expand Down

0 comments on commit eb7b657

Please sign in to comment.