[Client] Resolve #3967
This commit is contained in:
parent
b795379417
commit
4ab96251f5
2 changed files with 5 additions and 0 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue