Skip to content

Commit

Permalink
Reload after applying cloud configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Sep 29, 2020
1 parent f3d706b commit a560236
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/components/boot/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@
};
this.$store.dispatch('server/config/set', config).then(() => {
this.$emit('view', null);
this.processing = false;
window.location.reload(true);
}).catch((problem) => {
if (problem.status === 400 && problem.detail) {
this.error = problem.detail;
Expand Down
7 changes: 1 addition & 6 deletions src/components/views/Boot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,7 @@
},
methods: {
setView(view) {
if (view === null) {
this.$store.dispatch('reset');
this.setStatus(this.views);
}
async setView(view) {
this.currentView = view;
},
Expand Down

0 comments on commit a560236

Please sign in to comment.