mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
add missing preview link
This commit is contained in:
parent
e56947255e
commit
bb3b38947d
@ -256,6 +256,7 @@ class Storage {
|
||||
$versions[$key]['cur'] = 0;
|
||||
$versions[$key]['version'] = $version;
|
||||
$versions[$key]['humanReadableTimestamp'] = self::getHumanReadableTimestamp($version);
|
||||
$versions[$key]['preview'] = \OCP\Util::linkToRoute('core_ajax_versions_preview', array('file' => $filename, 'version' => $version));
|
||||
$versions[$key]['path'] = $filename;
|
||||
$versions[$key]['size'] = $file['size'];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user