refactor: move meeting remaining time component to common folder
This commit is contained in:
parent
58f198e3b0
commit
827a2f00d5
@ -4,7 +4,7 @@ import { Session } from 'meteor/session';
|
||||
import logger from '/imports/startup/client/logger';
|
||||
import Styled from './styles';
|
||||
import Service from './service';
|
||||
import MeetingRemainingTime from '../notifications-bar/meeting-remaining-time/container';
|
||||
import MeetingRemainingTime from '/imports/ui/components/common/meeting-remaining-time-graphql/component';
|
||||
import MessageFormContainer from './message-form/container';
|
||||
import VideoService from '/imports/ui/components/video-provider/service';
|
||||
import { PANELS, ACTIONS } from '../layout/enums';
|
||||
|
@ -45,15 +45,15 @@ const intlMessages = defineMessages({
|
||||
},
|
||||
});
|
||||
|
||||
const METEOR_SETTINGS_APP = Meteor.settings.public.app;
|
||||
const REMAINING_TIME_ALERT_THRESHOLD_ARRAY: [number] = METEOR_SETTINGS_APP.remainingTimeAlertThresholdArray;
|
||||
|
||||
interface MeetingRemainingTimeContainerProps {
|
||||
isBreakoutDuration: boolean | false;
|
||||
fromBreakoutPanel: boolean;
|
||||
displayAlerts: boolean;
|
||||
}
|
||||
|
||||
const METEOR_SETTINGS_APP = Meteor.settings.public.app;
|
||||
const REMAINING_TIME_ALERT_THRESHOLD_ARRAY: [number] = METEOR_SETTINGS_APP.remainingTimeAlertThresholdArray;
|
||||
|
||||
interface MeetingRemainingTimeProps {
|
||||
durationInSeconds: number;
|
||||
referenceStartedTime: number;
|
@ -3,9 +3,9 @@ import { withTracker } from 'meteor/react-meteor-data';
|
||||
import React, { useEffect } from 'react';
|
||||
import { defineMessages, injectIntl } from 'react-intl';
|
||||
import Auth from '/imports/ui/services/auth';
|
||||
import { Meetings, MeetingTimeRemaining } from '/imports/api/meetings';
|
||||
import Meetings, { MeetingTimeRemaining } from '/imports/api/meetings';
|
||||
import { isEmpty } from 'radash';
|
||||
import MeetingRemainingTime from './meeting-remaining-time/container';
|
||||
import MeetingRemainingTime from '/imports/ui/components/common/meeting-remaining-time-graphql/component';
|
||||
import Styled from './styles';
|
||||
import { layoutSelectInput, layoutDispatch } from '../layout/context';
|
||||
import { ACTIONS } from '../layout/enums';
|
||||
|
@ -4,7 +4,7 @@ import { defineMessages, injectIntl } from 'react-intl';
|
||||
import Icon from '/imports/ui/components/common/icon/component';
|
||||
import Styled from './styles';
|
||||
import { ACTIONS, PANELS } from '../../../layout/enums';
|
||||
import MeetingRemainingTime from '../../../notifications-bar/meeting-remaining-time/container';
|
||||
import MeetingRemainingTime from '/imports/ui/components/common/meeting-remaining-time-graphql/component';
|
||||
|
||||
const intlMessages = defineMessages({
|
||||
breakoutTitle: {
|
||||
|
Loading…
Reference in New Issue
Block a user