From 0855f7390ccc19d8d8298e45af4ca23f7da23dc9 Mon Sep 17 00:00:00 2001 From: Renato Becker Date: Fri, 18 May 2018 19:49:43 -0300 Subject: [PATCH] The Livechat settings of the 'color' types were not appearing correctly in the administrative area. (#10612) --- packages/rocketchat-livechat/config.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/rocketchat-livechat/config.js b/packages/rocketchat-livechat/config.js index a8cbae7fa18..c2a67cbf7c9 100644 --- a/packages/rocketchat-livechat/config.js +++ b/packages/rocketchat-livechat/config.js @@ -4,7 +4,13 @@ Meteor.startup(function() { RocketChat.settings.add('Livechat_enabled', false, { type: 'boolean', group: 'Livechat', public: true }); RocketChat.settings.add('Livechat_title', 'Rocket.Chat', { type: 'string', group: 'Livechat', public: true }); - RocketChat.settings.add('Livechat_title_color', '#C1272D', { type: 'color', group: 'Livechat', public: true }); + RocketChat.settings.add('Livechat_title_color', '#C1272D', { + type: 'color', + editor: 'color', + allowedTypes: ['color', 'expression'], + group: 'Livechat', + public: true + }); RocketChat.settings.add('Livechat_display_offline_form', true, { type: 'boolean', @@ -39,6 +45,8 @@ Meteor.startup(function() { }); RocketChat.settings.add('Livechat_offline_title_color', '#666666', { type: 'color', + editor: 'color', + allowedTypes: ['color', 'expression'], group: 'Livechat', public: true, section: 'Offline',