diff --git a/frontend/app/components/Session_/EventsBlock/NoteEvent.tsx b/frontend/app/components/Session_/EventsBlock/NoteEvent.tsx
index bf6dae7e7..5560dd1d5 100644
--- a/frontend/app/components/Session_/EventsBlock/NoteEvent.tsx
+++ b/frontend/app/components/Session_/EventsBlock/NoteEvent.tsx
@@ -1,6 +1,6 @@
import React from 'react';
import { tagProps, Note } from 'App/services/NotesService';
-import { formatTimeOrDate } from 'App/date';
+import { formatTimeOrDate, shortDurationFromMs } from 'App/date';
import { useStore } from 'App/mstore';
import { observer } from 'mobx-react-lite';
import copy from 'copy-to-clipboard';
@@ -8,10 +8,10 @@ import { toast } from 'react-toastify';
import { session } from 'App/routes';
import { confirm, Icon } from 'UI';
import { TeamBadge } from 'Shared/SessionsTabOverview/components/Notes';
-import { Tag, Dropdown, Button } from 'antd'
-import { MoreOutlined } from "@ant-design/icons";
-import { MessageSquareDot } from 'lucide-react'
-import { noNoteMsg } from 'App/mstore/notesStore'
+import { Tag, Dropdown, Button } from 'antd';
+import { MoreOutlined } from '@ant-design/icons';
+import { MessageSquareDot } from 'lucide-react';
+import { noNoteMsg } from 'App/mstore/notesStore';
interface Props {
note: Note;
@@ -26,14 +26,14 @@ function NoteEvent(props: Props) {
const onEdit = () => {
notesStore.setEditNote(props.note);
- props.setActiveTab('HIGHLIGHT')
+ props.setActiveTab('HIGHLIGHT');
};
const onCopy = () => {
copy(
- `${window.location.origin}/${window.location.pathname.split('/')[1]}${session(
- props.note.sessionId
- )}${
+ `${window.location.origin}/${
+ window.location.pathname.split('/')[1]
+ }${session(props.note.sessionId)}${
props.note.timestamp > 0
? `?jumpto=${props.note.timestamp}¬e=${props.note.noteId}`
: `?note=${props.note.noteId}`
@@ -57,12 +57,33 @@ function NoteEvent(props: Props) {
}
};
const menuItems = [
- { icon: