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

RED FLAG flashes #10

Open
rishabhlingam opened this issue Jan 19, 2021 · 1 comment
Open

RED FLAG flashes #10

rishabhlingam opened this issue Jan 19, 2021 · 1 comment

Comments

@rishabhlingam
Copy link

Describe the bug
Red-Flag flashes and vanishes when clicked on "Red Flag History" under "User Profile"

To Reproduce
Steps to reproduce the behavior:

  1. Expand the side drawer by clicking Hamburger button.
  2. Expand the "User Profile" section.
  3. Click on "Red Flag History" option.
  4. See error (a Red Flag flashes and disappears. )

Expected behavior
No Red Flag should flash if user dose not have any.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop

  • OS: [POP-OS]
  • Browser [chromium web browser]
  • Version [83.0.4103.116]

Additional context
This bud may only be visible when the user have no Red Flags.

@Pankajtanwarbanna
Copy link
Owner

Pankajtanwarbanna commented Jan 20, 2021

Thanks @rishabhlingam for pointing it out. This is actually happening as fetching user red flags from db takes ~1 or 2 seconds and for that time span, browser is showing by default set red flag which is 3. Better solution would be to hide the red flag count completely till the data comes.

If you can fix it, would be great.

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

2 participants