Skip to content
Snippets Groups Projects
Commit b4176135 authored by Bobak Oftadeh's avatar Bobak Oftadeh
Browse files

Improved checks for record time

parent 6ed8b09d
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,10 @@ import Logger from '/imports/startup/server/logger';
export default function handleRecordingStatusChange({ body }, meetingId) {
const { time } = body;
check(body, {
time: Number,
});
const selector = {
meetingId,
};
......
......@@ -59,7 +59,10 @@ const intlMessages = defineMessages({
const propTypes = {
presentationTitle: PropTypes.string,
hasUnreadMessages: PropTypes.bool,
recordProps: PropTypes.objectOf(PropTypes.any),
recordProps: PropTypes.shape({
time: PropTypes.number,
recording: PropTypes.bool,
}),
shortcuts: PropTypes.string,
};
......
......@@ -8,7 +8,7 @@
.title {
color: var(--color-gray-dark);
font-weight: 500;
font-weight: var(--headings-font-weight);
font-size: var(--jumbo-padding-y);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment