Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report settings without setting.config #119

Open
tcflanag opened this issue Sep 18, 2021 · 0 comments
Open

Report settings without setting.config #119

tcflanag opened this issue Sep 18, 2021 · 0 comments

Comments

@tcflanag
Copy link

A lot of modules (including my Auto Journal Icon Numbers), use settings sub-menus for additional control in the presentation. As part of this I set config: false on our settings so they don't appear on the main settings page. However, bug reporter is filtering on setting.config. Can check be removed, or adjusted in a way to allow these types of settings to go through?

const generateModuleSettings = (mod) => {
  // Find all keys in settings that belong to our module
  let modSettings = [];
  game.settings.settings.forEach((setting) => {
    if (setting.module === mod.data.name) {
      // only allow scalars
      if (setting.config && setting.type !== "object") {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant