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

[BUG] Opening message preview can break the category settings page #542

Open
1 task done
eartharoid opened this issue May 9, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working
Milestone

Comments

@eartharoid
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When creating a new category, attempting to add a question after filling out the rest of the form will do nothing.

Expected Behavior

No response

Steps To Reproduce

  1. In server settings, go to Categories and click Create
  2. Open Dev Tools to the side and click on the Console tab
  3. Type in the opening message box, then select a ping role
  4. Notice an error appears in the console
  5. Click the Add question button and see that nothing happens
  6. Refresh the page and try again, but select a ping role first and then enter the opening message, note that it works.

Environment

- OS:
- Node:
- NPM:
- Bot: 4.0.18

Anything else?

Thanks to @KingJoDev for help finding the cause:

https://github.com/discord-tickets/portal/blob/67e90ce3c496406da4da1fca488187478f112e83/src/routes/settings/%5Bguild%5D/categories/%5Bcategory%5D/%2Bpage.svelte#L374-L387

@eartharoid eartharoid added the bug Something isn't working label May 9, 2024
@eartharoid eartharoid added this to the v4.1 milestone May 9, 2024
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
Status: Todo
Development

No branches or pull requests

1 participant