mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 00:43:53 +00:00
add video details and extract button (#6908)
* add video details and extract button * update * update * update --------- Co-authored-by: zheng.shen <zheng.shen@seafile.com>
This commit is contained in:
@@ -124,7 +124,7 @@ const FileDetails = React.memo(({ repoID, repoInfo, dirent, path, direntDetail,
|
||||
);
|
||||
|
||||
let component = dom;
|
||||
if (Utils.imageCheck(dirent.name)) {
|
||||
if (Utils.imageCheck(dirent.name) || Utils.videoCheck(dirent.name)) {
|
||||
const fileDetails = getCellValueByColumn(record, { key: PRIVATE_COLUMN_KEY.FILE_DETAILS });
|
||||
const fileDetailsJson = JSON.parse(fileDetails?.slice(9, -7) || '{}');
|
||||
const fileLocation = getCellValueByColumn(record, { key: PRIVATE_COLUMN_KEY.LOCATION });
|
||||
|
Reference in New Issue
Block a user