diff --git a/client/src/components/RecordingList.vue b/client/src/components/RecordingList.vue index 2a57554..0dce3ec 100644 --- a/client/src/components/RecordingList.vue +++ b/client/src/components/RecordingList.vue @@ -79,7 +79,7 @@ export default defineComponent({ - + My Recordings
{ + const myRecordingListStyles = computed(() => { const sectionHeight = configuration.value.mark_annotations_completed_enabled ? '35vh' : '40vh'; return { 'height': sectionHeight, @@ -268,6 +269,22 @@ export default defineComponent({ }; }); + const sharedRecordingListStyles = computed(() => { + let sectionHeight: string; + if (configuration.value.mark_annotations_completed_enabled) { + sectionHeight = '35vh'; + } else { + sectionHeight = '40vh'; + } + if (!configuration.value.is_admin && !configuration.value.non_admin_upload_enabled) { + sectionHeight = '75vh'; + } + return { + 'height': sectionHeight, + 'max-height': sectionHeight, + }; + }); + onMounted(async () => { addSubmittedColumns(); hideDetailedMetadataColumns(); @@ -349,7 +366,8 @@ export default defineComponent({ configuration, submittedMyRecordings, submittedSharedRecordings, - recordingListStyles, + myRecordingListStyles, + sharedRecordingListStyles, showSubmittedRecordings, myRecordingsDisplay, sharedRecordingsDisplay, @@ -361,20 +379,19 @@ export default defineComponent({