updated android to work with changes to app/archive.js (#1074)
This commit is contained in:
parent
4e0425ad7e
commit
eb9fba3da6
@ -26,6 +26,7 @@ import Raven from 'raven-js';
|
|||||||
import { setApiUrlPrefix } from '../app/api';
|
import { setApiUrlPrefix } from '../app/api';
|
||||||
import metrics from '../app/metrics';
|
import metrics from '../app/metrics';
|
||||||
//import assets from '../common/assets';
|
//import assets from '../common/assets';
|
||||||
|
import Archive from '../app/archive';
|
||||||
import Header from '../app/ui/header';
|
import Header from '../app/ui/header';
|
||||||
import storage from '../app/storage';
|
import storage from '../app/storage';
|
||||||
import controller from '../app/controller';
|
import controller from '../app/controller';
|
||||||
@ -83,6 +84,7 @@ function body(main) {
|
|||||||
state.capabilities = {
|
state.capabilities = {
|
||||||
account: true
|
account: true
|
||||||
}; //TODO
|
}; //TODO
|
||||||
|
state.archive = new Archive();
|
||||||
state.storage = storage;
|
state.storage = storage;
|
||||||
state.user = new User(storage);
|
state.user = new User(storage);
|
||||||
state.raven = Raven;
|
state.raven = Raven;
|
||||||
|
@ -36,7 +36,7 @@ module.exports = function(state, emit) {
|
|||||||
content = html`
|
content = html`
|
||||||
<div class="p-6 w-full">${archiveTile.uploading(state, emit)}</div>
|
<div class="p-6 w-full">${archiveTile.uploading(state, emit)}</div>
|
||||||
`;
|
`;
|
||||||
} else if (state.archive) {
|
} else if (state.archive.numFiles > 0) {
|
||||||
content = archiveTile.wip(state, emit);
|
content = archiveTile.wip(state, emit);
|
||||||
button = '';
|
button = '';
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user