|
|
@ -447,11 +447,13 @@ export function WizardMigrationPage(props: OurPagePropsType) {
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const mtime = (new Date()).getTime();
|
|
|
|
const meta: Etebase.CollectionMetadata = {
|
|
|
|
const meta: Etebase.CollectionMetadata = {
|
|
|
|
type: colType,
|
|
|
|
type: colType,
|
|
|
|
name: info.displayName,
|
|
|
|
name: info.displayName,
|
|
|
|
description: info.description,
|
|
|
|
description: info.description,
|
|
|
|
color: (info.color !== undefined) ? colorIntToHtml(info.color) : undefined,
|
|
|
|
color: (info.color !== undefined) ? colorIntToHtml(info.color) : undefined,
|
|
|
|
|
|
|
|
mtime,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
const collection = await colMgr.create(meta, "");
|
|
|
|
const collection = await colMgr.create(meta, "");
|
|
|
|
await colMgr.upload(collection);
|
|
|
|
await colMgr.upload(collection);
|
|
|
|