fix(ui): fix eventlist size calc
This commit is contained in:
parent
233aaca602
commit
8a1cce18a9
4 changed files with 2 additions and 6 deletions
|
|
@ -54,7 +54,6 @@ class EventGroupWrapper extends React.Component {
|
|||
const whiteBg = isLastInGroup && event.type !== TYPES.LOCATION || (!isLastEvent && event.type !== TYPES.LOCATION)
|
||||
const safeRef = String(event.referrer || '');
|
||||
|
||||
console.log(this.props.currentUserId, event.userId)
|
||||
return (
|
||||
<div
|
||||
className={
|
||||
|
|
|
|||
|
|
@ -186,15 +186,13 @@ export default class EventsBlock extends React.PureComponent {
|
|||
render() {
|
||||
const { query } = this.state;
|
||||
const {
|
||||
testsAvaliable,
|
||||
session: {
|
||||
events,
|
||||
},
|
||||
filteredEvents,
|
||||
setActiveTab,
|
||||
} = this.props;
|
||||
|
||||
const _events = filteredEvents || events;
|
||||
const _events = this.eventsList
|
||||
|
||||
const isEmptySearch = query && (_events.size === 0 || !_events)
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ function NoteEvent(props: Props) {
|
|||
];
|
||||
return (
|
||||
<div
|
||||
className="flex items-start flex-col p-2 border"
|
||||
className="flex items-start flex-col p-2 border rounded"
|
||||
style={{ background: 'rgba(253, 243, 155, 0.1)' }}
|
||||
>
|
||||
<div className="flex items-center w-full">
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ function PlayIconLayer({ playing, togglePlay, notesEdit }: Props) {
|
|||
const getIsEdit = React.useCallback(() => notesEdit, [notesEdit])
|
||||
|
||||
const onKeyDown = (e: any) => {
|
||||
console.log(getIsEdit())
|
||||
if (getIsEdit()) return;
|
||||
if (e.key === ' ') {
|
||||
togglePlayAnimated();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue