removed old ui
This commit is contained in:
parent
f0cfc19f8c
commit
7838ad586d
67 changed files with 17 additions and 2816 deletions
|
@ -5,7 +5,7 @@ import { copyToClipboard, delay, openLinksInNewTab, percent } from './utils';
|
|||
import * as metrics from './metrics';
|
||||
import Archive from './archive';
|
||||
import { bytes } from './utils';
|
||||
import okDialog from './templates/okDialog';
|
||||
import okDialog from './ui/okDialog';
|
||||
|
||||
export default function(state, emitter) {
|
||||
let lastRender = 0;
|
||||
|
@ -108,6 +108,9 @@ export default function(state, emitter) {
|
|||
count: LIMITS.MAX_FILES_PER_ARCHIVE
|
||||
})
|
||||
);
|
||||
if (state.archive.numFiles === 0) {
|
||||
state.archive = null;
|
||||
}
|
||||
}
|
||||
render();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue