diff --git a/assets/js/components/conversations/interface.js b/assets/js/components/conversations/interface.js index 4068e8b7..d288b2fc 100644 --- a/assets/js/components/conversations/interface.js +++ b/assets/js/components/conversations/interface.js @@ -81,7 +81,7 @@ const ConversationsInterface = { name: infos.conversationName, follow : infos.follow, users: infos.users, - color: infos.color.replace("#", "").toUpperCase(), + color: infos.color == null ? "" : infos.color.replace("#", "").toUpperCase(), canEveryoneAddMembers: infos.allowEveryoneToAddMembersInput };