1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

add initialization modal & migration func

This commit is contained in:
Dick Choi
2016-07-23 12:14:01 +09:00
parent f628ed55cf
commit b2d34ab95d
9 changed files with 410 additions and 339 deletions

View File

@@ -208,7 +208,7 @@ class StorageItem extends React.Component {
let { storage } = this.props
let input = {
name: 'Untitled',
color: consts.FOLDER_COLORS[Math.floor(Math.random() * 7)]
color: consts.FOLDER_COLORS[Math.floor(Math.random() * 7) % 7]
}
dataApi.createFolder(storage.key, input)