Skip to content

Commit

Permalink
Show avatars in protected ranges window
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Feb 26, 2024
1 parent 83b1335 commit 79932fd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ define([
name: this.currentUser.name,
displayName: this.currentUser.name + ' (' + this.textYou + ')',
initials: Common.Utils.getUserInitials(this.currentUser.name),
avatar: '',
avatar: Common.UI.ExternalUsers.getImage(this.currentUser.id),
usercolor: Common.UI.ExternalUsers.getColor(this.currentUser.id),
email: '',
type: Asc.c_oSerUserProtectedRangeType.edit,
Expand All @@ -298,7 +298,7 @@ define([
name: name,
displayName: name + ' ' + count++,
initials: Common.Utils.getUserInitials(name),
avatar: '',
avatar: Common.UI.ExternalUsers.getImage(item.asc_getId()),
usercolor: Common.UI.ExternalUsers.getColor(item.asc_getId()),
email: '',
type: item.asc_getType()
Expand Down Expand Up @@ -373,7 +373,7 @@ define([
name: record.displayValue,
displayName: record.displayValue,
initials: Common.Utils.getUserInitials(record.displayValue),
avatar: '',
avatar: Common.UI.ExternalUsers.getImage(value),
usercolor: Common.UI.ExternalUsers.getColor(value),
email: record.value,
type: Asc.c_oSerUserProtectedRangeType.edit
Expand Down

0 comments on commit 79932fd

Please sign in to comment.