feat: Added "Open" button to file upload success notification (#2091)
This commit is contained in:
@@ -22,9 +22,11 @@ export class FilePreviewModalController {
|
||||
this.currentFile = currentFile
|
||||
}
|
||||
|
||||
activate = (currentFile: FileItem, otherFiles: FileItem[]) => {
|
||||
activate = (currentFile: FileItem, otherFiles?: FileItem[]) => {
|
||||
this.currentFile = currentFile
|
||||
this.otherFiles = otherFiles
|
||||
if (otherFiles) {
|
||||
this.otherFiles = otherFiles
|
||||
}
|
||||
this.isOpen = true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user