diff --git a/frontend/app/components/Assist/RecordingsList/Recordings.tsx b/frontend/app/components/Assist/RecordingsList/Recordings.tsx index 1bc29efaa..c03b703f3 100644 --- a/frontend/app/components/Assist/RecordingsList/Recordings.tsx +++ b/frontend/app/components/Assist/RecordingsList/Recordings.tsx @@ -1,25 +1,44 @@ -import React from 'react' +import React from 'react'; import { PageTitle } from 'UI'; +import Select from 'Shared/Select'; import RecordingsSearch from './RecordingsSearch'; import RecordingsList from './RecordingsList'; +import { useStore } from 'App/mstore'; +import { connect } from 'react-redux'; -function Recordings() { +function Recordings({ userId }: { userId: string }) { + const { recordingsStore } = useStore(); + + const recordingsOwner = [ + { value: '0', label: 'All Recordings' }, + { value: userId, label: 'My Recordings' }, + ]; return ( -
-
-
- -
-
-
- -
-
-
- +
+
+
+
- ) +
+ notesStore.toggleShared(value.value === '1')} defaultValue={notesOwner[0].value} /> + notesStore.toggleSort(value.value)} defaultValue={sortOptions[0].value} /> +