Fix chat panel space empty
This commit is contained in:
parent
d44fea18c2
commit
f3d759a7fb
@ -30,7 +30,7 @@ const initState = {
|
|||||||
deviceType: null,
|
deviceType: null,
|
||||||
layoutType: DEFAULT_VALUES.layoutType,
|
layoutType: DEFAULT_VALUES.layoutType,
|
||||||
layoutLoaded: 'legacy',
|
layoutLoaded: 'legacy',
|
||||||
idChatOpen: DEFAULT_VALUES.PUBLIC_GROUP_CHAT_ID,
|
idChatOpen: DEFAULT_VALUES.idChatOpen,
|
||||||
input: INITIAL_INPUT_STATE,
|
input: INITIAL_INPUT_STATE,
|
||||||
output: INITIAL_OUTPUT_STATE,
|
output: INITIAL_OUTPUT_STATE,
|
||||||
};
|
};
|
||||||
|
@ -2,12 +2,12 @@ import { Meteor } from 'meteor/meteor';
|
|||||||
import { LAYOUT_TYPE, CAMERADOCK_POSITION, PANELS } from './enums';
|
import { LAYOUT_TYPE, CAMERADOCK_POSITION, PANELS } from './enums';
|
||||||
|
|
||||||
const CHAT_CONFIG = Meteor.settings.public.chat;
|
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 = {
|
const DEFAULT_VALUES = {
|
||||||
layoutType: LAYOUT_TYPE.CUSTOM_LAYOUT,
|
layoutType: LAYOUT_TYPE.CUSTOM_LAYOUT,
|
||||||
panelType: 'chat',
|
panelType: 'chat',
|
||||||
idChatOpen: PUBLIC_GROUP_CHAT_ID,
|
idChatOpen: PUBLIC_CHAT_ID,
|
||||||
|
|
||||||
cameraPosition: CAMERADOCK_POSITION.CONTENT_TOP,
|
cameraPosition: CAMERADOCK_POSITION.CONTENT_TOP,
|
||||||
cameraDockTabOrder: 4,
|
cameraDockTabOrder: 4,
|
||||||
|
Loading…
Reference in New Issue
Block a user