Skip to content

Commit

Permalink
fix review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegoO committed Dec 18, 2023
1 parent 80c0e7d commit 5f501ee
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,11 @@ angular.module('virtoCommerce.orderModule')

blade.openOrganizationDetails = function () {
if (blade.customerOrder.organizationId) {
securityAccounts.get({ id: blade.customerOrder.organizationId }, function (account) {
var organizationId = (account && account.memberId) ? account.memberId : blade.customerOrder.organizationId;
members.get({ id: organizationId }, function (member) {
if (member && member.id) {
showCustomerDetailBlade(member);
}
});
});
}
};

Expand Down

0 comments on commit 5f501ee

Please sign in to comment.