fixes #1013. dragging page elements

This commit is contained in:
Danny Coates
2018-11-19 10:48:52 -08:00
parent c99697caae
commit 74d8a12c07
2 changed files with 9 additions and 1 deletions

View File

@@ -98,6 +98,9 @@ export default function(state, emitter) {
});
emitter.on('addFiles', async ({ files }) => {
if (files.length < 1) {
return;
}
const maxSize = state.user.maxSize;
state.archive = state.archive || new Archive();
try {