Skip to content

Commit

Permalink
fix data object
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed Oct 10, 2024
1 parent e1fa539 commit 4d3de59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/helpers/forms/settingsConfigForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,12 @@ export class SettingsConfigForm extends FormApplication {
// Handle saving or submitting
if (submit) {
// If submitting, call _updateObject to store the data
await this.saveSettings(dataObject);
await this.saveSettings(foundry.utils.expandObject(dataObject));
ui.notifications.info(game.i18n.localize(`${MODULE_ID}.menu.settings.notification.submit`));
this.close();
} else {
// If saving, call _updateObject to store the data
await this.saveSettings(dataObject);
await this.saveSettings(foundry.utils.expandObject(dataObject));
ui.notifications.info(game.i18n.localize(`${MODULE_ID}.menu.settings.notification.save`));
}
}
Expand Down

0 comments on commit 4d3de59

Please sign in to comment.