From 83580fd627304cd6a132e49c4d5179665358fa25 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 6 Mar 2021 19:03:25 +0100 Subject: [PATCH] Fix null issue --- assets/js/components/conversations/interface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 };