mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-30 04:44:28 +00:00
feat(asset): replace mediaType/mimeType logic with proxyType
This commit is contained in:
@@ -464,7 +464,7 @@ function FileViewPage() {
|
||||
mediaControllerRef.current?.pause()
|
||||
}}
|
||||
selectedCommentId={selectedCommentId}
|
||||
hideAnnotationControl={sidebarFile?.mediaType?.startsWith('audio/')}
|
||||
hideAnnotationControl={sidebarFile?.proxyType === 'audio'}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user