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

Override for item creation dialog shows "Artifact" again #680

Open
bithir opened this issue Oct 18, 2024 · 2 comments
Open

Override for item creation dialog shows "Artifact" again #680

bithir opened this issue Oct 18, 2024 · 2 comments

Comments

@bithir
Copy link
Collaborator

bithir commented Oct 18, 2024

No description provided.

@bithir
Copy link
Collaborator Author

bithir commented Oct 18, 2024

Need to remove this entry from the menu.

@bithir
Copy link
Collaborator Author

bithir commented Oct 18, 2024

Method signature change - breaking change in v13.

Corrected code below

static async createDialog(data = {},createOptions={}, {folders, types, template, ...dialogOptions}={}) {
    // Collect data
    console.log("createDialog", types);
    types = game.symbaroum.config.itemValid;
    return super.createDialog(data, createOptions , { folders, types, template, dialogOptions });
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant