refactor: application dependency management (#2363)
This commit is contained in:
@@ -326,7 +326,7 @@ export class FilesController extends AbstractViewController<FilesControllerEvent
|
||||
|
||||
alertIfFileExceedsSizeLimit = (file: File): boolean => {
|
||||
if (!this.shouldUseStreamingReader && this.maxFileSize && file.size >= this.maxFileSize) {
|
||||
this.application.alertService
|
||||
this.application.alerts
|
||||
.alert(
|
||||
`This file exceeds the limits supported in this browser. To upload files greater than ${
|
||||
this.maxFileSize / BYTES_IN_ONE_MEGABYTE
|
||||
|
||||
Reference in New Issue
Block a user