Merge branch 'remove-fxa-dialog-on-big-file' into 'master'
Remove FxA dialog on file too big error See merge request timvisee/send!12
This commit is contained in:
commit
3e07f648b3
1 changed files with 0 additions and 3 deletions
|
@ -91,9 +91,6 @@ export default function(state, emitter) {
|
||||||
state.LIMITS.MAX_FILES_PER_ARCHIVE
|
state.LIMITS.MAX_FILES_PER_ARCHIVE
|
||||||
);
|
);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e.message === 'fileTooBig' && maxSize < state.LIMITS.MAX_FILE_SIZE) {
|
|
||||||
return emitter.emit('signup-cta', 'size');
|
|
||||||
}
|
|
||||||
state.modal = okDialog(
|
state.modal = okDialog(
|
||||||
state.translate(e.message, {
|
state.translate(e.message, {
|
||||||
size: bytes(maxSize),
|
size: bytes(maxSize),
|
||||||
|
|
Loading…
Reference in a new issue