This commit is contained in:
syuilo 2018-04-08 17:15:07 +09:00
parent 17f20a90b2
commit 4753dfa4d9
2 changed files with 14 additions and 2 deletions

View File

@ -96,7 +96,7 @@ export default Vue.extend({
onNote(note) {
//
if ((this as any).os.isEnableSounds) {
const sound = new Audio(`${url}/assets/note.mp3`);
const sound = new Audio(`${url}/assets/post.mp3`);
sound.volume = localStorage.getItem('soundVolume') ? parseInt(localStorage.getItem('soundVolume'), 10) / 100 : 1;
sound.play();
}

View File

@ -50,8 +50,20 @@ db.drive_files.files.renameCollection('driveFiles.files');
db.drive_files.chunks.renameCollection('driveFiles.chunks');
db.driveFiles.files.update({}, {
$rename: {
'metadata.user_id': 'metadata.userId',
'metadata.user_id': 'metadata.userId'
}
}, false, true);
db.driveFiles.files.update({
'metadata.folder_id': { $ne: null }
}, {
$rename: {
'metadata.folder_id': 'metadata.folderId',
}
}, false, true);
db.driveFiles.files.update({
'metadata.properties.average_color': { $ne: null }
}, {
$rename: {
'metadata.properties.average_color': 'metadata.properties.avgColor'
}
}, false, true);