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

posts-counter is not counting correctly #2664

Open
Fl4shboot opened this issue Mar 14, 2018 · 2 comments
Open

posts-counter is not counting correctly #2664

Fl4shboot opened this issue Mar 14, 2018 · 2 comments
Labels

Comments

@Fl4shboot
Copy link

Expected behavior

When I create and delete a new post, the posts-counter should the same like before.

Actual behavior

After deleting a new post, the counter does not decrease by 1.

How to reproduce

Watch the posts-counter, create a new post and then delete it. The counter does'nt decrease.

  • Browser: Google Chrome
  • Operating system: Windows 10

Recording Of The Bug

current profile:
image.png

after creating:
image.png

after deleting:
image.png



Posted on Utopian.io - Rewarding Open Source Contributors

@pkattera pkattera added the bug label Mar 14, 2018
@JisuPark
Copy link

I've checked the bugs, and I could reproduce it.

UserProfile.jsx component renders a number of post by accessing state.global.get('accounts').get(username).

But global state fetched and updated with the API response.
So in my opinion, it is out of condensers scope.

@pkattera, If is it still needs to fix it, I can change UserProfile.jsx's logic to calculate based on the blogs, not post_count

@roadscape
Copy link
Contributor

Hi, thanks for the report. Is it still an issue?

@roadscape roadscape reopened this Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants