[Client] Resolve #3967

This commit is contained in:
syuilo
2019-01-23 19:45:14 +09:00
parent b795379417
commit 4ab96251f5
2 changed files with 5 additions and 0 deletions

View File

@ -179,6 +179,7 @@ export default define({
this.$root.api('notes/create', {
text: this.text == '' ? undefined : this.text,
fileIds: this.files.length > 0 ? this.files.map(f => f.id) : undefined,
visibility: this.$store.state.settings.defaultNoteVisibility
}).then(data => {
this.clear();
}).catch(err => {