Fix null issue

This commit is contained in:
Pierre HUBERT 2021-03-06 19:03:25 +01:00
parent 5056b07ddf
commit 83580fd627

View File

@ -81,7 +81,7 @@ const ConversationsInterface = {
name: infos.conversationName, name: infos.conversationName,
follow : infos.follow, follow : infos.follow,
users: infos.users, users: infos.users,
color: infos.color.replace("#", "").toUpperCase(), color: infos.color == null ? "" : infos.color.replace("#", "").toUpperCase(),
canEveryoneAddMembers: infos.allowEveryoneToAddMembersInput canEveryoneAddMembers: infos.allowEveryoneToAddMembersInput
}; };