Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
G4brym committed Oct 28, 2023
1 parent 423bed7 commit 0a8d292
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dashboard/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
components: { BaseLayout },
async created() {
await this.$store.dispatch("checkBasicAuthStorage");
this.$store.dispatch("loadServerConfigs");
this.$store.dispatch("fetchServerConfigs");
this.$store.dispatch("loadUserDisks");
}
};
Expand Down
2 changes: 1 addition & 1 deletion packages/dashboard/src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export default createStore({
context.state.loginMethod = 'basic'
}
},
loadServerConfigs ({ commit }) {
fetchServerConfigs ({ commit }) {
axios.get('/api/server/config', {
validateStatus: function (status) {
return status >= 200 && status < 300
Expand Down

0 comments on commit 0a8d292

Please sign in to comment.