Fix chat panel space empty

This commit is contained in:
Vitor Mateus De Almeida 2021-05-20 11:36:26 -03:00
parent d44fea18c2
commit f3d759a7fb
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ const initState = {
deviceType: null,
layoutType: DEFAULT_VALUES.layoutType,
layoutLoaded: 'legacy',
idChatOpen: DEFAULT_VALUES.PUBLIC_GROUP_CHAT_ID,
idChatOpen: DEFAULT_VALUES.idChatOpen,
input: INITIAL_INPUT_STATE,
output: INITIAL_OUTPUT_STATE,
};

View File

@ -2,12 +2,12 @@ import { Meteor } from 'meteor/meteor';
import { LAYOUT_TYPE, CAMERADOCK_POSITION, PANELS } from './enums';
const CHAT_CONFIG = Meteor.settings.public.chat;
const PUBLIC_GROUP_CHAT_ID = CHAT_CONFIG.public_group_id;
const PUBLIC_CHAT_ID = CHAT_CONFIG.public_id;
const DEFAULT_VALUES = {
layoutType: LAYOUT_TYPE.CUSTOM_LAYOUT,
panelType: 'chat',
idChatOpen: PUBLIC_GROUP_CHAT_ID,
idChatOpen: PUBLIC_CHAT_ID,
cameraPosition: CAMERADOCK_POSITION.CONTENT_TOP,
cameraDockTabOrder: 4,