Skip to content
Snippets Groups Projects
Commit 9e948f82 authored by Ron Lucke's avatar Ron Lucke
Browse files

Dateiwähler ist nach Upload nicht aktuell

Closes #4861

Merge request studip/studip!3647
parent 0a926e3f
No related branches found
No related tags found
No related merge requests found
...@@ -133,6 +133,7 @@ export default { ...@@ -133,6 +133,7 @@ export default {
methods: { methods: {
...mapActions({ ...mapActions({
loadFolderFiles: 'file-chooser/loadFolderFiles', loadFolderFiles: 'file-chooser/loadFolderFiles',
loadFolder: 'folders/loadById',
}), }),
async loadFiles(folderId) { async loadFiles(folderId) {
this.contentForbidden = false; this.contentForbidden = false;
...@@ -161,6 +162,7 @@ export default { ...@@ -161,6 +162,7 @@ export default {
fileAdded() { fileAdded() {
this.showMessageBox = true; this.showMessageBox = true;
this.successMessage = this.$gettext('Es wurde eine Datei hochgeladen.'); this.successMessage = this.$gettext('Es wurde eine Datei hochgeladen.');
this.loadFolder({ id: this.activeFolderId });
}, },
folderAdded() { folderAdded() {
this.showMessageBox = true; this.showMessageBox = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment