Skip to content

Commit

Permalink
Use a better variable name for currentUserExperimentalFeatures
Browse files Browse the repository at this point in the history
  • Loading branch information
wssheldon committed Oct 2, 2023
1 parent e25c4b8 commit 6772fb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dispatch/static/dispatch/src/components/AppToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ export default {
UserApi.getUserInfo()
.then((response) => {
let userId = response.data.id
let currentUserExperimentalFeatures = this.currentUser().experimental_features
let newUserExperimentalFeatures = this.currentUser().experimental_features
UserApi.update(userId, {
id: userId,
experimental_features: currentUserExperimentalFeatures,
experimental_features: newUserExperimentalFeatures,
})
})
.catch((error) => {
Expand Down

0 comments on commit 6772fb9

Please sign in to comment.