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

Deleted communities can't be restored after page reload #4911

Closed
4 tasks done
Nothing4You opened this issue Jun 22, 2024 · 2 comments · Fixed by #4912
Closed
4 tasks done

Deleted communities can't be restored after page reload #4911

Nothing4You opened this issue Jun 22, 2024 · 2 comments · Fixed by #4912
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Nothing4You
Copy link
Collaborator

Requirements

  • This is a bug report, and if not, please post to https://lemmy.ml/c/lemmy_support instead.
  • Please check to see if this issue already exists.
  • It's a single bug. Do not report multiple bugs in one issue.
  • It's a frontend issue, not a backend issue; Otherwise please create an issue on the backend repo instead.

Summary

If a user accesses a deleted community page they don't see the undelete button.
This button is only shown right after deleting a community, but a fresh load of the community page does not show it.

Steps to Reproduce

  1. Create community
  2. Delete community
  3. Refresh
  4. No restore button

Technical Details

image
image
image

Lemmy Instance Version

0.19.5

Lemmy Instance URL

https://voyager.lemmy.ml

@Nothing4You Nothing4You added the bug Something isn't working label Jun 22, 2024
@dessalines
Copy link
Member

Interesting, I'll take a look.

@dessalines dessalines added this to the 0.19.6 milestone Jul 21, 2024
@dessalines
Copy link
Member

I figured this one out, its a backend issue.

@dessalines dessalines transferred this issue from LemmyNet/lemmy-ui Jul 21, 2024
@dessalines dessalines self-assigned this Jul 21, 2024
dessalines added a commit that referenced this issue Jul 21, 2024
- The front end checks to see whether you are a mod, in order to be
  able to restore deleted / removed communities. This removes a filter
  which prevents that.
- Fixes #4911
Nutomic pushed a commit to sunaurus/lemmy that referenced this issue Sep 20, 2024
LemmyNet#4912)

* Make sure you can view your moderated deleted and removed communities.

- The front end checks to see whether you are a mod, in order to be
  able to restore deleted / removed communities. This removes a filter
  which prevents that.
- Fixes LemmyNet#4911

* Only show deleted communities to creator, and removed to admins.

* Addressing PR comments.
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

Successfully merging a pull request may close this issue.

2 participants