oops
This commit is contained in:
parent
17f20a90b2
commit
4753dfa4d9
@ -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();
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user