Wizard: set collection mtime when creating the first collections.

master
Tom Hacohen 4 years ago
parent 0d6f7d5ed8
commit 8f2068fe48

@ -62,6 +62,7 @@ function SetupCollectionsPage(props: PagePropsType) {
const meta: Etebase.CollectionMetadata = { const meta: Etebase.CollectionMetadata = {
type, type,
name, name,
mtime: (new Date()).getTime(),
}; };
const collection = await colMgr.create(meta, ""); const collection = await colMgr.create(meta, "");
await colMgr.upload(collection); await colMgr.upload(collection);

Loading…
Cancel
Save