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

Error are thrown when user has no accessible ticket options #161

Closed
zhiyan114 opened this issue Jun 20, 2023 · 2 comments
Closed

Error are thrown when user has no accessible ticket options #161

zhiyan114 opened this issue Jun 20, 2023 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@zhiyan114
Copy link
Collaborator

Issue

When you, for example, configure a "no ticket role" or role that has been added to all of the cantAccess under the ticketTypes, it will throw an error since the ticket tries to create SelectMenu with no option, which isn't allowed.

Solution

Return a reply stating no ticket options available without creating a SelectMenu component.

@zhiyan114 zhiyan114 added the bug Something isn't working label Jun 20, 2023
@Sayrix Sayrix self-assigned this Jun 21, 2023
Sayrix added a commit that referenced this issue Jun 21, 2023
@Sayrix Sayrix mentioned this issue Jun 21, 2023
@Sayrix
Copy link
Owner

Sayrix commented Jun 21, 2023

Hi, i didn't tested it but can you say me if it fixe your issue

@zhiyan114 zhiyan114 added this to the 2.5.0 milestone Jun 21, 2023
zhiyan114 added a commit that referenced this issue Jun 21, 2023
@zhiyan114
Copy link
Collaborator Author

User, 𝖃𝕴𝕹#4444, confirmed the issue was resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants