fix: Fixed issue where file upload progress was not visible
This commit is contained in:
@@ -390,16 +390,13 @@ export class FilesController extends AbstractViewController<FilesControllerEvent
|
||||
|
||||
public async uploadNewFile(
|
||||
fileOrHandle: File | FileSystemFileHandle,
|
||||
{
|
||||
showToast,
|
||||
note,
|
||||
}: {
|
||||
options: {
|
||||
showToast?: boolean
|
||||
note?: SNNote
|
||||
} = {
|
||||
showToast: true,
|
||||
},
|
||||
): Promise<FileItem | undefined> {
|
||||
const { showToast = true, note } = options
|
||||
|
||||
let toastId: string | undefined
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user