Skip to content

Commit

Permalink
Possible fix for no tab data
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed Sep 16, 2024
1 parent 9d28628 commit 37c7841
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions scripts/helpers/settingsConfigForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ export class SettingsConfigForm extends FormApplication {

getData() {
//game.settings.get('myModuleName', 'myComplexSettingName')
return {
/*return {
placeholder: true
};
};*/
return super.getData().object
}

async _updateObject(event, formData) {
Expand Down
2 changes: 1 addition & 1 deletion templates/pf2e-rpg-settings-config.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<form>
<nav class="tabs" data-group="primary-tabs">
{{#each options.tabs}}
{{#each tabs}}
<a class="item" data-tab="{{label}}"><i class="fas fa-dice-d20"></i> {{title}}</a>
{{/each}}
</nav>
Expand Down

0 comments on commit 37c7841

Please sign in to comment.