Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rafpaf committed Apr 30, 2024
1 parent 5dd495e commit 544ca01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/metabase/redux/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export const updateUserSetting = createThunkAction(
return async function (dispatch) {
try {
await SettingsApi.put(setting);

if (!shouldRefresh) {
// When we aren't refreshing all the settings, we need to put the setting into the state
return setting;
}
} catch (error) {
Expand Down

0 comments on commit 544ca01

Please sign in to comment.