fix downloads
This commit is contained in:
@@ -247,7 +247,7 @@ export class ViewManager {
|
||||
} else {
|
||||
if (this.roomManager.canDownload) {
|
||||
actions.push(`
|
||||
<button class="btn btn-sm file-action-btn" title="Download" onclick="window.roomManager.fileManager.downloadFile('${file.id}')"
|
||||
<button class="btn btn-sm file-action-btn" title="Download" onclick="window.roomManager.fileManager.downloadFile('${file.name}', '${file.path || ''}')"
|
||||
style="background-color:var(--primary-opacity-8);color:var(--primary-color);">
|
||||
<i class="fas fa-download"></i>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user