Skip to content

Commit

Permalink
style: fixed a jshint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
brecke committed Mar 27, 2020
1 parent 8e7fbdb commit 5dd4396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/oae-core/setpermissions/js/setpermissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ define(['jquery', 'oae.core'], function($, oae) {
});

const newInvitations = membersPartition[0];
var newMembers = membersPartition[1];
let newMembers = membersPartition[1];
const invitationsUpdates = {};

// Keep track of all members updates
Expand All @@ -118,7 +118,7 @@ define(['jquery', 'oae.core'], function($, oae) {
}

// Update the members infinite scroll && add members to the permissions modal list
var newMembers = _.map(newMembers, function(member) {
newMembers = _.map(newMembers, function(member) {
member.profile.role = member.role;
infinityScroll.prependItems(member.profile);
return member.profile;
Expand Down

1 comment on commit 5dd4396

@datreeio
Copy link

@datreeio datreeio bot commented on 5dd4396 Mar 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All Rules (5 / 5) Passed

👑 Good job! this pull request is aligned with your organization's best practices!

👉 You can review your rules settings at smart policy management 👈

Please sign in to comment.