Skip to content

Commit

Permalink
Fix #5530: Upsert new files into files list
Browse files Browse the repository at this point in the history
  • Loading branch information
dschmidt authored and kulmann committed Feb 17, 2022
1 parent 4bc754d commit df807bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/bugfix-update-file-list-on-new-file
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Update file list when creating new files

We update the file list now when creating a file in an editor that openes in a new tab (like draw.io).

https://github.com/owncloud/web/issues/5530
https://github.com/owncloud/web/pull/6358
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@ export default {
)
}
this.UPSERT_RESOURCE(buildResource(resource))
if (this.newFileAction) {
const fileId = resource.fileInfo[DavProperty.FileId]
Expand All @@ -406,9 +408,6 @@ export default {
return
}
resource = buildResource(resource)
this.UPSERT_RESOURCE(resource)
this.hideModal()
if (this.isPersonalLocation) {
Expand Down

0 comments on commit df807bf

Please sign in to comment.