diff options
author | bobzel <zzzman@gmail.com> | 2020-08-02 11:40:24 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-02 11:40:24 -0400 |
commit | 1486b398071b3e9d9ac84edc74404ebadb69f67c (patch) | |
tree | 0455527c7574c671f8d7f219560231384e7dd32f /src/client/util/SharingManager.tsx | |
parent | 63fd10d0940331d68a9ce58b4b77734b11e393f5 (diff) |
fixed runtime warnings. fixed color of title text of stacking and masonry views
Diffstat (limited to 'src/client/util/SharingManager.tsx')
-rw-r--r-- | src/client/util/SharingManager.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/SharingManager.tsx b/src/client/util/SharingManager.tsx index 892fb6d6d..5896bdf92 100644 --- a/src/client/util/SharingManager.tsx +++ b/src/client/util/SharingManager.tsx @@ -352,9 +352,9 @@ export default class SharingManager extends React.Component<{}> { private get sharingInterface() { const groupList = GroupManager.Instance?.getAllGroups() || []; - const sortedUsers = this.users.sort(this.sortUsers) + const sortedUsers = this.users.slice().sort(this.sortUsers) .map(({ user: { email } }) => ({ label: email, value: indType + email })); - const sortedGroups = groupList.sort(this.sortGroups) + const sortedGroups = groupList.slice().sort(this.sortGroups) .map(({ groupName }) => ({ label: StrCast(groupName), value: groupType + StrCast(groupName) })); const options: GroupedOptions[] = []; |